Take your pup outside, have it go potty, and clean up the poop. Eventually you will break this habit.