Some house training tips:

What NOT to do:
1. Yelling At your pup. 2. Hit or Kick your pup.
3. Punishing your dog in any way. 4. Rubbing its nose on the poop.
What you WANT to do:
1. Make your pup actually WANT to eliminate where he should!
2. Use the natural instincts all dogs have, to quickly and easily get him house trained.

Your pup craves your attention! Right now, his house training problems are a result of his confusion...he is still not clear about where to go to do his business. In fact, housebreaking problems and almost all other "problem" behavior with dogs can be traced back to one thing: RECEIVING ATTENTION AT THE WRONG TIME!

You most likely rushed to him and said in a firm tone something like "No, Fido ...No!”
And then maybe you took him into your backyard and waited there for him to eliminate. And once he had done that, you lovingly petted him.
Well, here's what's going on in your dog's head right now ...even if you're saying "No!" and scolding your dog. He is thinking, "WOW! EVERY TIME I poop on the carpet, I get attention from master! This is great!
THEN, I SHOULD POOP ON THE CARPET AGAIN!!"
When I pooped in the backyard, master petted me. So, I made her happy by relieving myself there.
SO, I CAN POTTY THERE TOO!!" He feels, anywhere I poop, master will give me attention or she will pat me.

So, Even if you catch your dog in the act, don't give him any attention. Let him eliminate there and once he is done, put him into to his crate. Clean up the mess, use odor removers – do not speak to him at all.
The trick to stop housebreaking accidents is to prevent your dogfrom having accidents in the first place. Watch for the signals, excessive sniffing, starting to turn small circles, getting ready to squat. When you see them, immediately get his attention “Hey Fido, do you want to go outside?” Get his leash, snap it on, and out you go. You can actually stop the brain from telling the body it wants to go, if you get there soon enough. Outside you go – if you walk your pup to the place you want it to go, it is so much better than scooping him up and carrying him outside. Dogs need to know HOW they got to that place, and the only way is for them to physically get there themselves. Then, you’ll have to stay a bit, because that “I have to go” msg. that the brain was telling him, has gone away, but it will soon come back, so stay outside and wait. Give your pup long enough time to completely finish the job. Many times, people think their pup is finished – I know, you get impatient standing there, and then you bring him back inside, only to have him go again. It’s not his fault, and he is not doing it to make you mad – he was just NOT FINISHED!

Pups have small stomachs, so will need to go 10 – 15 minutes after they eat.

So, waking up in their kennel in the morning – outside they go. Back inside to have their morning meal, wait 10 - 15 min. then take him outside for some outside time and for him to relieve himself. If you don’t have the time to stay with him during that time – you need to get ready for work or something, put an X-Pen in the area you want him to go, and put your pup in the X-Pen for 15 – 20 minutes. Just don’t forget that he is out there!

My puppy is completely housetrained, but when he goes out and poops, he then eats his own poop.
My dog is great, but when I walk him he wants to stop and investigate all other dogs' poop and taste it.
If your dog has this annoying habit, I am sure you are just desperate to take control.
The problem of a dogeating his own poop or eating someone else's poop are actually closely related.
Dog experts and vets call this "Coprophagia".
But, did you know, that Coprophagia is a behavior that is "normal" among dogs and their relatives in the wild? However, it is not a healthy habit and it is certainly unpleasant for the rest of us.
It can lead to yourhaving worms or other infectious diseases and you should get him checked by a vet soon.
And you know how this problem mostly develops? There are many people who believe in housetraining by rubbing his nose on the poop.
Firstly, the dog gets confused as to why is he being treated like that. Secondly, he may feel: "OK, if master can take my nose near it, I can smell it too." And one fine day, while smelling it, he thinks, why not taste it? And, the problem starts.
So, NEVER rub your dog’s nose on his excrement. There are products like "Forbid" to put in his food to make his stool foul
tasting. And this will make him stop this bad practice in a few days.