I avoid flying with a cold. Not only does the brain not work properly but the eustachian tubes get easily blocked. I did it once and one ear got really painful despite my best efforts to clear it, and was painful for several days afterwards. You can probably do serious damage that way.
Having flying lessons / training with a cold is a total waste of money, IME.