Which method is the best

I hax sex for the fist time last weekend with my boyfriend, I'm 21 and I want to know what's the best method for avoiding pregnancy because I'm new with this and don't want to risk. 😳