Ring Worm

So I pump & give my son breast milk & I have 2 ring worms right under my breast. Has anyone had a ring worm while breast feeding or pumping? Is it okay to use antifungal cream even though I pump. Also what would you recommend to prevent it from spreading. Thank u in advance