Trying to be optimistic doesn't mean ignoring the uglier sides of life. It just means focusing on the positive as much as possible-and it gets easier with practice.
-Write about a positive future.
-Search for the silver lining.
-share good news
-write a gratitude journal
-write thank you letters
-remind yourself to savor
Avoid Negative Thinking:
-Avoid dwelling on downers.
-Change unhealthy self-talk.
-Ask yourself if your negative thought is really true.
-Consider alternative explanations and avoid all or nothing train of thoughts.
The link then goes on to break down each of these and ways to practice them...
What tools/ways do you use to stay positive?