If allergic , as in the case of early disease , doxycycline or tetracycline may be used , albeit for a longer duration .
If a person is allergic to penicillin , other antibiotics like ceftriaxone , doxycycline , or tetracycline can be used , but they have to be given over longer periods of time .