Young puppies can’t hold their bowels & bladders for long. If you come home to find that they’ve had an accident in there it’s quite possible that they can’t hold it that long. Generally puppies can hold their bladder for about one hour per month of age. So your 3 month old pup can probably only hold their bladder for about 3 hours. If you’re going to be away at work for long periods of time see if you can get a neighbor, relative or dog sitter to come over to let your pup out during the day.
There also behavioral issues that can interfere with successful training. Urine marking is a normal dog behavior in which the animal will hike their leg and mark a certain area or object. With separation anxiety, the puppy may have accidents inside when you leave them at home alone. Some puppies become nervous or upset when their owners are away. Other puppies have a submissive or excitement urination problem. This causes them to spontaneously urinate during certain activities. Discuss these possibilities with your veterinarian or trainer if you're not getting positive results.
Seeking professional help doesn't mean ditching your DIY training program. You can find a professional dog trainer who offers private training sessions, and some trainers even offer online sessions. Many dog owners prefer to join a local dog obedience class so they will be under the supervision of a dog training instructor without the higher cost of private sessions. Plus, classes challenge your dog to learn around the distractions of other dogs.
It’s best not to punish the puppy for making a mistake. Instead, focus on praising appropriate bathroom behavior. If you catch your puppy in the act, interrupt it by saying “No!” in a firm voice or clapping your hands loudly, then take the puppy outside to finish going to the bathroom. Never swat your puppy, yell at it, or try to rub its nose in the mess.