If want to be safe during sex make sure that you and your partner are ready and are looking forward to and are prepared to have sex. Also you should know all the safety tips following and make sure you both are the legal age to have sex.
If you are going to have sex make sure that you and your partner is not drunk and you both are sure that you want to have sex. A good idea might be to not have sex during a party or any event because usually you end up drunk or aren't in the right mind set.
Make sure if you are going to have sex you use contraception so don't get the female pregnant or get a STI
The types of contraception are Condom / The contraceptive Pill - Combined pill, 1 hormone / Depo provera injection / The implant / IUD / Female condom / Diaphragm / ECP emergency contraceptive pill. These will help to prevent pregnancy or and STI.
Although the contraception will help you prevent pregnancy and STI's it is not guaranteed to prevent it for example if you are not careful the condom may have a rip in it and may lead to sperm going into the vagina therefore causing a pregnancy.
These things are very crucial to have before sex or make sure to have prepared and will help with the experience.