If your dog has some of these problems for more than a day, or if these symptoms keep coming back, take him to the vet. It could be pancreatitis, or it could be something else. Either way, you should get it checked out.
Your vet might make a diagnosis based on symptoms alone. Usually, though, she'll need to do blood tests or an ultrasound, which uses sound waves to make an image of what's going on inside the body.
Experts aren't sure what causes the pancreas irritation, but some breeds, especially schnauzers, are more prone to it. Older dogs and ones who are overweight are also more likely to get it.
Sometimes, the condition comes on as a side effect to a drug, or after surgery. Often, a fatty meal, like bacon grease or table scraps, triggers it.
Dogs usually recover from mild cases, but if it's severe, it can sometimes lead to death. If your dog is overweight or has diabetes or epilepsy, he may have a harder time getting over an attack.
If your vet can figure out what caused the pancreatitis, he'll try to deal with that first. For instance, if it was a reaction to a drug, he may take him off it. If it's related to diet, he may put him on prescription food.
Sometimes it's hard to tell what causes it, and there's no clear treatment to fight it. The focus instead becomes keeping the dog as comfortable as possible until the attack passes.