Don't eat it except for the exposed piece of flesh.
They usually have a lot of guts.
Bite the meat that it exposed first, then use chopsticks to hold the part that you didn't bite (that is, outside the teeth, not yet up to the shell), make sure to clamp it tightly, and scrape it outward, and the meat will come out, and there will only be black stuff left in the shell.