Mostly, yes. There are some that you have for life once infected, but even then medicine can help to control the symptoms. These are generally the viral infections, such as herpes or HIV. You can also develop a chronic infection if you catch hepatitis.
Go to your doctor or a sexual health clinic. There is treatment that can help, even if it won’t get rid of the infection completely.