You need to take her to the vet and have her examined. She could be constipated, or maybe her anal glands needs to be repressed.