Pill question.

June

I take the mylan pill for My acne, my boyfriend cums in me I take the pill every day but not at the same time sometimes 4 pm sometimes 10 pm sometimes 6 pm am I still protecting myself from the pregnancy?? I’m 18 but don’t really understand the birth control and stuff