It's important to consult a veterinarian before giving any medication to your dog, as dosages and potential side effects can vary between species. In many cases, there are specific veterinary medications that are safer and more appropriate for treating pain in dogs. Human medications can be harmful or even toxic to dogs if not used properly.