Coconut oil for thrush

Anna
Has anyone tried coconut oil for thrush? The medicine the dr. Gave me doesn't seem to be helping and he gave me three weeks. The medicine for the baby is not working so now I'm just using organic coconut oil and it healed up the fungus on my arm and baby's mouth already looks better. Anybody have any experience with this?