What type of pain is it? Like a muscle ache or something? Id get something similar but havent had it for ages and wasnt pregnant. My thoughts is it was that i slept on it the night before funny, like the others have said.. but id see my doc just incase if i were you... better to be safe than sorry.
Hope it feels better soon