Am I protected?

I had sex today after using the pill for 8 days (9 after I take my pill tonight). I took it at the same time every day. Should it be okay? I am a little paranoid because I don’t understand how such a tiny pill could work so well!