There are a variety of antibiotics that hamsters can take, but it is important to consult with a veterinarian before giving any medication to your pet. Some common antibiotics that hamsters can take include amoxicillin, clindamycin, and erythromycin. These medications can be given orally or topically, depending on the severity of the infection. It is important to finish the entire course of antibiotics prescribed by your vet in order to fully eliminate the infection.