The Pill

Does the pill really help with bad period pain? Looking for some first hand experience cause I have terrible periods. I always get bad period pain and just hate that time of the month. 
I plan on seeing a doctor but I was just curious, any info would be greatly appreciated.