You can't stop a dog from pooing all together without doing something that will threaten its health. You can work on house training the dog so it does not go in the house, and some people train the dog to only go in certain areas of their yard, so it is less likely to be stepped in and easier to clean.
A dog needs to be trained where to go potty. It takes lots of work and lots of patients. Every hour take the dog outside on his leash. Wait for him to do his business, then praise, prise, praise him. Always take him to the same place and give him time to get busy. Treats help, too. Never yell or hit your dog, that doesn't teach him anything.
Dont get a dog! You go live outside and try pooing in the same place every day!
water
just hold it in and dont run
If it is a female it might be having its period.
slap them with a fish
HIPPO POTAMUS in space eating a bean burrito and pooing it out
Build a trailer?
They stop frogs from pooing in ponds.
If you stop pooing while it is hangin' out, it will either fall in to the toilet or it will get sucked in and you will get constipated for the rest of your life. then you will turn fat and brown and purple and squishy. i'm serious! it happened to my sister! :(
cork it
This would be very difficult to answer accurately without knowing the circumstances of the dog, but it could be due to stress, maybe something changed in the dog's environment. The pooing and weeing could be due to a physical problem the dog has, so it could be a good idea to take the dog to the vet to have the dog checked out.
your dog is probably marking his/her territory since it is an unusual place. keep reminding your dog that it is not right to go on the floor.. Thanks!!!