Missed pill

sh

This is the week before my period. Sunday and Monday I had sex without a condom but he pulled out. Monday night I forgot to take my pill until today (Tuesday 24 hours late) so I took both Monday’s pill and Tuesday’s pill. Am I still safe?