For me, the worse thing is trying to ignore those thoughts.
You must realize that you will have these types of thoughts and when you do; dont run from them as that never helps.
Set aside 5 or 10 minutes to think about the state of mind you in. Truly try and look deep at your feeling at that moment.
Then after the allotted time (set a timer if you must), say, 'Thats it, that is all the time I'm giving those thoughts! and go do something else. Say it out loud at first, several times!
What you dont want to do is hide from those feeling. For that 5 minutes take them out, so to speak and look at them. Examine them. Look at all sides. Then, like a good book or toy, PUT IT UP! Think nothing about it them till next time.
Gradually, the time you think about those feeling will grow farther and farther between and you will be less worried about it when those feeling creep up.
Its sorta like exercising, at first it hard to do but then it gets easier and easier to do.
Good luck and be blessed,
-Onion