Charley horse!!

Desiree
I'm 17 weeks pregnant & I keep getting charley horse/ muscle stiffness in my legs. I woke up one night with a really bad one in my calf & just last night I woke up with one in my right buttock area. My mom said I could have a vitamin deficiency that's causing them. Does anyone know ?