Welcome to HealthcareMagic Public Forum
Such negative thoughts can occur in following conditions:
-Excessive worry due to generalized anxiety disorder
-Obsession of OCD
If problem is much and affecting your routine life, then it is better to meet psychiatrist
I hope this information has been both informative and helpful for you.
Wish you Good Health.
Dr. Ashish Mittal