Shrimp cooks very quickly. As soon as it turns pink and opaque, it's done. Overcooked shrimp can become tough, so watch it carefully.