Is it still effective?

I had unprotected sex and missed my pill so I took it in the morning then that night had more Unprotective sex but I did remember to take my pill so am I still safe?