white discharge after protected sex

my boyfriend and I used a condom during sex but afterwards there was a white discharge on the condom. i first thought it was maybe sperm but the condom wasn’t broken and the discharge was creamy and almost cottage cheese like? I’m just wondering if this is normal or a yeast infection. i also did stop taking bc pills three days prior bc they were affecting my mental health so I’m wondering if that also has something to do with it. thanks y’all :D