I had a little terrier mix who had problems with her anal glands. They'd swell up and she'd get constipated. The vet expressed them for her.