sex ed help

how do you have sex safely without getting pregnant??