My dog is 6 years old, mixed breed, spayed girl. Why is she frequently wetting the bed while sleeping? I always let her out right before I bring her into bed with me. Is this something I should be worried about?

Thanks.