I’m 22 years old and have flaky spots on my penis

someone please help me, im worried for the worst here ive put lotrimin AF on it this morning the last girl i had sex with said she had a yeast infection pop up the day after we had intercourse

could it be a yeast infection? if so how do i treat it?