Training your pup by limiting bed access, taking frequent potty breaks, rewarding correct behavior, and desensitizing to triggers can help prevent accidents.