Get referral. No individual advice, but deep breathing techniques will decrease intense anxiety for most. There's even apps for that, unwanted and frightening thoughts can be indicants of an anxiety disorder, such as an obsessive-compulsive disorder, or simply a stress reaction. Medical issues, drugs, and medications should be assessed. Cognitive behavioral therapy by a psychologist is often very effective.