Cota suffers from sleep apnea and to ward of drowsiness was taking a prescription drug whose known side effects include impaired judgment , officials with knowledge of the investigations told The Associated Press in January .