period+pain+pill=solution??!!?

Did anyone really see a difference with period pain and amount of blood flown after they took the pill or is it really just something doctors prescribe you out of the blue???