coming off the pill can cause irregular periods for 12-18 months, as long as you didn’t have unprotected sex when you weren’t protected/in your last week of pills (unless it can be counted as a break week if you took 7+ active pills before you came off) you’re fine