You can leave or remove the vein underneath the shrimp - it is not harmful. The vein on top of the shrimp contains intestinal material which can be unpleasant. Most chefs remove it. Watch how to peel and devein shrimp.