Charlie horse

Chelsie
What do you do to prevent them? I'm 35 weeks pregnant and if I even turn my leg or foot the wrong way I'll feel one coming on. Sometimes I can stop it but the times I can't they HURT. For the most part I get them in my calves and the arches of my feet. But last night I got one in my hip and it ended up being sore all night long. I've heard eating bananas can help but all they do is mess with my stomach so that's off the table. Anything else I can try? This is my third pregnancy but first time getting cramps like this.