I have a pig (female) that loves to pee where she sleeps. Some pigs are neat and some are, well, pigs.
If your cage is too small that may also be part of the problem. If you haven't upgraded your pet to a C&C cage please do look into it. It's cheap and easy.
Guinea Pig Cages, Your Cavy At Home