When is the best age to have sex?

Shannon🌞
I'm only asking this as I'm in 6 month relationship with my boyfriend we're both 17, and he is my first boyfriend and one day I feel like he will be the one you know. If you use protection you can't get a STD right? Just I know all about it just need to make sure for when this day happens.