Nipple thrush

I have nipple thrush and baby has oral thrush. We are both being treated but I wondered how long it takes to clear up and how long the nipple pain lasted for those of you who also had this?