Going on pill

I’m 15 and commonly have very short periods. However, more recently, the first day has become excruciating because the cramps are longer and worse and I throw up just before I get a cramp. My mum has said I should go on the pill but I’m not too sure. Any help please?! X