Dump her and find another friend who will treat you 10x better.
Have you ever brought her behavior to her attention and asked her to stop? If not, try that. If you already have and she still hasn't changed, drop her like a disease, because she will infect you with the same behavior.
Drop her. You deserve respect. I had a couple friends like that and I have new great friends now.
Stand up to her she's not really your friend if she does that
Get a real friend.