I had the same issues before I finally went to a psychiatrist. The racing thoughts especially made it hard to function. The doctor diagnosed me as bipolar and prescribed some meds. It has taken many many tries to find the right meds for me, but I'm so much better now. I hope that you'll reach out to a psych soon and find some relief ASAP.