Your pet's veterinarian will recommend a topical, oral, or injected medication to ease your pet's itching and inflammation. If your dog or cat has an infection, the veterinarian may also prescribe an antibiotic or antifungal medicine. You may have heard that human antihistamines can treat pet allergies.