Probably coincidence - I think adults catch, on average, eight colds a year, children rather more as their immune systems are less experienced.
Equally if you believe in homeopathy, it could be the homeopathic remedies clearing all the 'yuck' (can't remember the term) out of your system. I had homeopathy for migraines once - didn't do a thing for my headaches but did give me the worse case of thrush I had ever had. My homeopath was really pleased as she said the remedies were working to clear everything out of my system. I was NOT pleased as I hadn't bargained for a massive dose of thrush. BUT interesting thing was I haven't had thrush ever again - and this was 14 years ago.
I think it suggests there may be something in homeopathy, given in my case it seems to have had side effects and cured a recurrent infection that had originally been caused by antibiotics (damn that GP). Until taking homeopathy, I had repeated thrush infections. Took homeopathy, no more thrush, ever again.
Could be coincidence but a very strange one. And the definite fact is conventional medicine caused the thrush, while it's possible that homeopathy took it away.
Btw, for all the homeopathy-haters who get very, very narked at the idea patients may find some benefit from something that isn't properly understood, perhaps you should consider that plenty of conventional and widely-used drugs aren't fully understood either. And that one of the most important things in medicine is how the patient feels. A cure would be nice, but isn't always possible, however good the medicine/surgery is. If the patient feels better, job done, however that has been achieved - whether that's because the GP listened or because you took homeopathy.