Anyone?

So I was asleep on my right side and got up to pee, and had a really strong pain, only on my right side from my pelvis and it radiated to my side and back (only on that side). It was not a contraction as it lasted a good five minutes, but was pretty intense. Was baby just on a nerve? Haven’t experienced that the entire pregnancy?