what causes STI’s / yeast infections???

idk if it’s from not using a condom or when my boyfriend goes down on me but it keeps throwing off my PH balance and I keep getting an STI .. does anyone know which it is so I can correct it!?