Birth control

I missed my pill yesterday and I’ve heard that some people take 2 the next day so I did take 2 today. Does anyone know what happens or if it’s still safe to have sex?