confused

Jessenia
I have been on the pill for a month and 2 weeks and I have been taking it perfectly at the same time everyday! My boyfriend and I want to have sex so I decided to get on bc  to be safe. However, I know that the last week of the pill is when I'm on my period. In anytime during the month I can have sex? Cz since I'm on the pill I don't know when I'm ovulating and when I risk high pregnancy chance. I'm 17 can anyone help