My girlfriend come of the depo provera in November still

Patient: My girlfriend come of the depo provera in November still hasn’t had a period till the 2nd may , she’s tooken pregnancy test saying she’s not pregnant , so she’s tooken the 21 day pill to kick up her periods again , which the doctor said that’s fine , but is the pill effective straight away from protection against sex

Doctor: