Pain at night

Leslie
I am 26 weeks 3 days and I always try to sleep on my side but it seems when I roll over in the middle of the night it's very tight under my belly and painful. Also how do I help with rib pain?