how protected am I now

Okay I wanted to start a new thread to get more advice and comments, today I took my pill at 1:00pm and threw up slightly at 4:45. I assumed I was still protected so I went to my boyfriends and yes I had condomless sex. Soon I realized that I should've taken another from my pack right after I threw up. So now it being 12:03am I took the next pill in my pack. Did I do the right thing? I'm really scared to become pregnant. My pamphlet says if vomiting occurs 3 to 4 hours to follow the instructions of a missed pill. Am I okay? Mind you that this pill I threw up was the very first pill of the pack