One of the most commonly used classes of dog infection tablets is antibiotics. Antibiotics treat bacterial infections by either killing bacteria or inhibiting their growth. For example, common antibiotics such as amoxicillin and cephalexin are often prescribed for skin infections, urinary tract infections, and respiratory infections in dogs.