Help!

Has anyone used ketoconazole cream on their breasts while either pumping or nursing? I somehow got ringworm on the side of my boob , my pcp prescribed the antifungal cream, but I’m nervous to use it . it says to only apply 2x a day, but everything im reading says that if you have to apply it to your breasts you should wash it off…not really sure how it would work if i just end up washing it off after 2hrs.🥲