First step is to try the obvious things like professional help and medication (if that is something you don't mind doing)
Second step is to find something you are really passionate about. This won't be a cure, but could definitely lower the frequency. When you are extremely busy you don't have time to think about anything else. That is just from personal experience.