Sadly I have some knowledge and experience on this. It still makes me wince with pain just thinking about it!

Charlie (who is now nearly 3) had oral thrush from about 6 weeks and he and I would've just continually kept re-infecting each other. As it was I did get nipple thrush and I can honestly say it was THE most painful thing ever and I nearly gave up BF'ing as a result. (I didn't, ended up getting to 6 months with him, but it sure was close!)

I used Daktarin gel in his mouth. And Canestan on my nipples. Then before a feed I would wipe the Canestan off my nipples and smear a little Daktaren on. Then after the feed was finished I would reapply lots of Canestan. (This was all based on the advice of my post natal midwife.)

I ended up with a cracked nipple too and used Calendula on it which was amazing.

Inner Heath probiotics or InLiven would also be really useful to ward off the nasties too.

Good luck!