Hello doctor, Iam 22 female, i had unprotected sex during m

Patient: Hello doctor,Iam 22 female, i had unprotected sex during my periods ,is it safe to take contraceptive pill during periods to avoid pregnency.How often can i take contraceptive pills in a month

Doctor: