You only need to boil the shrimp for about 3 minutes to cook them through. Make sure to transfer them to ice water immediately to keep them from overcooking.