Establish a routine for feeding and bathroom breaks.
Use positive reinforcement to reward desired behavior.
Take your dog outside frequently, especially after meals and naps.
Choose a designated bathroom spot and consistently take your dog there.
Supervise your dog closely and confine them when necessary.
Learn to recognize signs that your dog needs to go.
Clean accidents properly with an enzyme-based cleaner.
Be patient and consistent in your training approach.
Seek professional help if needed.