Hi I see that you are a medical professional. Thinking is a special function. If you have intrusive thoughts or you are distressed by the thoughts then you need help.
You will benefit from a psychiatric assessment to understand whether it is a psychological distress or a psychiatric disorder. Please consult a Psychiatrist
Next Steps
consult a Psychiatrist
Health Tips
read and work on a self help book called mind over mood . try relaxation techniques. regular walking and focus on physical fitness. avoid smoking alcohol and excessive caffeine