While it’s easier said than done, you must focus on what is in your control and do it. What’s not in your control should not be your worry. The best way is to be aware of your thoughts. Notice their overall tone and try to change it. This might help you have control of your thoughts.