Doxycycline is not recommended during pregnancy as it may harm the developing fetus, including causing permanent tooth discoloration. It should only be used if prescribed by a doctor in life-threatening situations where no safer alternatives are available.