The drug will be added to an intravenous fluid that will drip through a needle or catheter placed in your vein for 1 to 4 hours, one or two times a day.Doxycycline eliminates bacteria that cause many kinds of infections including Lyme disease, pneumonia, and urinary tract, skin, bone, and rectal infections.