Really bad pain

I just happen to go to the bathroom and after standing up I had a really bad pain which I cant really identify where, I just know that the pain was a pulsation like a really bad needle. I had to lie down because the pain was too much has this happen to anyone before.