Pill question !!

Am I still safe to have sex without a condom while on my period if I’m on the pill?