Nipping in the Bud
Depression and unhappiness develops over time. Once it's grown to full fledged depression just trying to be happy is unlikely to make it instantly go away. It's much easier to nip unhappiness when you start feeling painful emotions than waiting for them to escalate. The same holds for emotions such as anger. When you first feel anger that's the time to try and not be angry instead of stewing and becoming furious and then trying not to be angry.