Contractions?

Everytime I roll over in bed i get a sharp pain across my stomach like I pulled a muscle. I'm 24 weeks with my first and I'm scared its contractions and I can't tell and I'm going in to labor or something, Is this what contractions feel like?