STD prevention

What’s the very best way to have sex and not got an STD?!