cramps after peeing

So I really had to go pee then I went. After I stood up I had really bad cramps when standing up straight. I had to like crouch? Has this happened to anyone