ear mold

After struggling for 4 weeks with continued ear pain, antibiotics etc my doctor sent out for a culture and told me that there was mold spores in my ear. What causes this, is it serious, how is it cured?