You should not give NSAIDs, like aspirin and ibuprofen, or other pain relievers, such as acetaminophen, to dogs or other pets without the supervision of a veterinarian. But you can ask your vet to prescribe pain medicine that’s made for dogs that can safely and effectively relieve your pet’s discomfort.