Get Your Dog Care Questions Answered by Experts
Your groomer or your vet can express the glands. If this does not help, your dog might need antibiotics for an infected or abcessed gland.
You can somewhat prevent this in the future by feeding a high fiber diet and keeping the dog's weight under control. Even with this, some dogs will have problems.
Let me know if you have more questions.