Thrush/yeast infection and Haemolytic Streptococcus Group B again had it 2 years ago too!

Hi so I got my swab and urine results today, so swab came back with thrush/yeast infection and urine cane back with Haemolytic Streptococcus Group B which I had 2 years ago, so on amoxicilin antibiotics and thrush cream! I wondering now that's why I haven't fell pregnant! Anyone else taken the medication and fell pregnant? How long after? And anyone else had the same as me?