Pain and coming off the pill?

Right now I’ve been of the pill for a week just ended my period, I’m having cramps now and bloating, and feeling like I have to pee, is this related to stopping the pill or is it something else?