Agree, it's likely that her anal glands are full and need to be expressed. Any vet or groomer can do this pretty easily. However, it is also possible that she could have worms so make sure you ask a vet what the problem is before assuming.
Its probably her anal glands. You need to take her to the vet so they can drain the glands.
Thanks! Your answer is awaiting moderation.