Birth control problems

I've been on the pill for a good 7 months now but I've had my period for 2 months In a row with terrible cramps and stomach pains. Does anyone know why? Or a different birth control that will stop this?