the pill... help

My period is very irregular should I the pill to help regular it and I also get really bad cramps