Q - Are condoms efficient

I'm in a long distance relationship and my boyfriend is coming in the summer. He wants to have sex but because I'm still young and in high school I REALLY don't want to get pregnant. Are condoms efficient and effective or do you suggest I also go on the pill?