When you refrain from doing bad things, you are practicing compassion, because you refrain from bringing suffering to yourself and other people. Practicing compassion is practicing happiness, because happiness is the absence of suffering. Then, try to do good things. Try to do whatever brings peace, stability, and joy to you and other people.