If you feel that the thoughts are irrational or illogical and coming to your mind repeatedly against your wish, then it's in your best interest if you consult a psychiatrist in-person, who need to assess you in detail to rule out anxiety disorder or Obsessive compulsive disorder, before formulating a management plan (pharmacotherapy or psychotherapy)
Next Steps
consult a psychiatrist in person