Constipation pains

Has anyone had horrible gas/constipation pains? Does it go away?? 
I was woken up with horrible pain & I thought I had to use the bathroom, but I can't go. I feel like I have so much gas & I can't lay down or the pains come back. I have to curl up and cover myself with a warm blanket to ease the pain a little.