Some dogs are easy to do, some really, really difficult.
It does help to do them when you are bathing the dog. This helps to contain the mess ( Tip to the unwary first timer, one squeeze can sometimes have a fairly explosive effect, don't peer too close at what you are doing & use plenty of cotton wool ) and it seems to have a softening effect on the anal gland contents.
Margaret C