I used heavy trance when I had trouble when I was younger. I used night sounds like rain and thunder for a couple of years. Now my partner watches Minecraft videos while heading off to sleep and I cuddle them and fall asleep with them.
That said, other tools are exercise, less caffeine, Ritalin (so I am not overtired and stressed), less sugar, and better heat management.
If someone does not treat you with respect you are not their friend, you are their pet.
It is no reflection on you at all, this is purely on them, but if they don’t respect you they are not treating you as an equal as they should be.
You deserve better.
A healthy relationship can include a difference of experience, knowledge, even power, but not respect. Respect is the bedrock of a good relationship and if you don’t have that you may need to look elsewhere. If you were not modelled self respect or taught it you would benefit from learning about it.
That all said, she sounds like she may just be compensating in some way, putting you down to elevate herself, but seriously you don’t have to take that. She could potentially change and stop this behaviour but she may persist and you may have no option but to get into a new friend ggroup and leave this one.