Pills and norifam shot

Is it ok to have a shot even I'm still on the 6th pill? And after wards i will not take the rest of the pills.