How to stop obsessive thoughts?

this are thoughts that i have answered them but still they poop up in my brain
its like there is no off button for them
its like automatically even if i dont think about them
How to stop obsessive thoughts?
Post Opinion