Condoms not only protect against unwanted pregnancy but also against HIV and most STDs. You can buy condoms in supermarkets, pharmacies, drugstores and in some petrol stations, for instance. Condoms can only be used once.
After ejaculating, pull the penis out with the condom still on. Hold the condom at the base of the penis as you do so.