There are many different ways that you can avoid an unwanted pregnancy but there is only 1 way to be 100% sure that you will not get pregnant and that is to avoid having sexual intercourse. Now depending on your age, this may be a difficult thing to do. Sex is not something that should be shared with everyone just for fun, it is about love. Make sure that if you are having sex with someone, that you are willing to accept the consequences and handle the responsibility of having a child with that person.
Use condoms. Condoms are a great way to help prevent unwanted pregnancy but they do not work 100% of the time. This does not mean that you should not use them but you must still be careful. If you do not plan on getting pregnant then you should use protection like condoms every single time that you have sex.
Birth Control. There are many different types of birth control that can be obtained from doctors and pharmacies. Using birth control will also help prevent unwanted pregnancy but again, they do not work 100% of the time so you must still be careful.
Pulling out. Even if you are on birth control and even if you are using a condom, it is best to pull out because this will help prevent unwanted pregnancy. This method will help a little bit but can still be very dangerous if you are not using any other type of protection.
Use these methods if you decide to be sexually active and take every precausion necessary to prevent unwanted pregnancy. Make sure that you are 100% mentally and financially ready to have a child before you get pregnant so that your child can grow up and have a good life.