To prevent your dog from expressing glands on your bed, you can try feeding your dog a high-fiber diet to promote healthy bowel movements and gland expression. You can also talk to your vet about expressing your dog's glands regularly to prevent them from doing it on your bed.