Newborn thrush

Brittany • Mother of 3 beautiful girls!
My 2 week old has developed thrush, and has passed it on to my nipples. It is becoming so unbearable to breast feed my LO, but I don't want to give up just yet because I know this is only temporary. The burning, glass like sensation is becoming too much for me to the point that I cry during her feedings. What can I do to make it less painful? I've been putting coconut oil on LO tongue after every feeding and on my nipples as well, I've only been doing this for a few days so it hasn't really had time to work it's magic.