Mind pops/nonsense thoughts/mental chatter? Advice needed.

Hey, Ive been experiencing these weird thoughts since the May of last year. Mostly when I go to bed i will have these random nonsense thoughts going on in my head. For example -" the dog ate the tree because yellow is cool." Yesterday it got even worse, i came home from a party and kept "hearing" my friends voices talking jibberish with eachother (as thoughts, not as voices) I dont know what to do, i had such a huge panic attack and i feel like vomiting, the fact that i have severe OCD doesnt help, because i worry that im actually hearing voices.. Any advice?

those thoughts are actually part of the anxiety and OCD conditions. I actually get them myself., As well as many other people Iwho have anxiety in some form.anxiety can cause the brain to sort of rapid fire in which we can have random automatic weird thoughts.
I will often have strange instant thought of something from the past in my life that I wasn’t even thinking about. The more anxious we become about this, the more this will happened. It’s easier said than done but try to relax your mind as much as possible. these thoughts are not going to harm you. but I know how frustrating it is. One thing that has helped me is that when it happens, I just take a matter of fact attitude towards them. I basically tell myself that I acknowledge the thought but I’m not going to follow it because I have other things that I’m doing right now. I don’t let it make me scared or anxious. I hope you feel better

This is another nasty anxiety symptom, the more you try to fight it the more it will stick in your head, so just say to yourself: oh here we go again, stupid anxiety trying to freighten me and try to remain as calm as possible.
If you have somebody you can talk to about it, maybe somebody who knows about it, who you can call to say, here we go again, and just have a chat to take your mind off it.
Take care x