stop cat peeing on the bed

I am thinking perhaps a cat likes my warm hood and lies on it, then the warmth makes it pee(???).

How Do You Stop Cat Peeing On Carpet

My mom.