Hello Friend, Good that you are seeking a help here. Overthinking or pre occupied mind are symptoms of Anxiety. Just observe and analyze what's happening around you in terms of environment, relationships, family, lifestyle etc. Any of these could influence your mind with stress and causes such overwhelming thought.
It needs professional help to first assess your current suitation and symptoms in details to recommend a suitable solution. Be positive. It's a curable problem if you are willing to cooperate and follow certain therapies and lifestyle changes.
Next Steps
Call me directly or online through Practo for further detailed evaluation and suitable recommendation.