When training your dog to stop peeing on your bed, you must first restrict access to your bed when you are not around. Keep the bedroom door closed while you are gone. If needed, keep your dog in a crate. When you are home, be sure to take your dog outside for pee breaks frequently. Only allow your dog to get on the bed when you are on the bed.