Morning after pill

Lizzeth
Me and my boyfriend Had unprotected sex 4 days ago on Friday afternoon we both don't know if he came inside me or not so today Monday morning, I took a morning after pill is it okay to do so?