Trucking Coughing fit while driving

wasn't eating anything or drinking anything,..Just out of the blue i start coughing and i think there's a possibility I could pass out, so i pulled over.