help me!!!! URGENT

So I normally take birth control at 12pm everyday and always on time. I got my period this week so I didn't take the pills obviously. I started them again today (Sunday) but I went home til 7pm and that's when I took them. Is that okay?!! And do I take them again tomorrow at 7pm or my usual time - 12pm. I also had sex today so I'm scared