Trying to get pregnant

Em

Since 2018,i've been trying to get pregnant but until now it didn't work..I'm almost 23 years old but no child...before,i had once a yeast infection and bacterial vaginosis..does that infections affect my fertility?please help and respect😊