Has anyone experience this

I get lower pains here and there they are slight pains but when sleeping I get severe pain lower stomach that runs down my legs ..if I lay side ways for a while it goes away but if I lay flat it comes again strong mostly while I'm sleeping is that normal?