Yeast infection on nipples?

My 3 week old son who is EBF has a little bit of a yeast infection in his mouth and I’m pretty sure I have it on my nipples and they hurt so bad. What can I do for the pain?