There are a wide range of other methods.
The most common are: condoms, fertility tracking, where you avoid having sex on days where your body is most fertile, and withdrawal, where your partner withdraws and ejaculates outside the vagina.
These methods can be effective, and condoms are an effective way to avoid STIs. About 18% of women who use these methods will fall pregnant each year.