I'm with brien, our 5 month old pup had accidents like that and would pee or poop over night in his crate regularly until we regulated his food and water intake, for example we cut ALL drink and water at 6pm. and took him out every 3-4 hours. Now he usually lets us know when he needs to go out but he gets let out at midnight and then not again till 7 am we haven't had any accidents in WEEKS. Also when he pees inside just say NO and put him outside, by himself, so that he knows that peeing inside means alonetime outside with no one to play or toys. when he does go outside LOTS AND LOTS of happy voices and excited praise. good luck :