Confused!

F
So I'm on my third pack of birth control pills and I need some clarification. Are you still protected if let's say I have sex when I'm only on my second pill of a new pack? As in I just finished my period