If you eat your own poop it's called autocoprophagy.
If you eat poop from others or eat many other types of poop and not just your own poop it's called Coprophagy.
When you only eat other peoples poop from other humans then the eating of other humans poop is called allocoprophagy.
Eating your own poop or others poop is not only disgusting but it's also very unhealthy because you introduce bad bacteria into your system which make you very sick.
You could also die from eating your own poop and especially if you happen to eat someone else's poop or you eat an animals poop that contains really bad bacteria then you can get deathly sick.