The Pill

So I started the pill back in February because of have polyistic ovarian cyst and was recommended by the doctor. So I start drinking and I have regular and less painful period, but this month and last month my periods have been incredibly painful. Is this normal?