Doctors will recommend taking doxycycline with a full glass of water to prevent it from irritating the esophagus, which is the tube that connects the stomach and the mouth. If someone has irritation in their esophagus, they can take doxycycline with food or milk.