How to avoid pregnancy? it's my first time.

I have been dating my bf from 5 years but I am really scared to do sex. we have tried oral sex many times and fingering but this time we are planning to do sex so can someone suggest me ways to avoid pregnancy? and things I need to keep in mind during my first time.