The key to this is to not overcook them. Shrimp can go from being juice and tender to rubbery and tough very quickly. No matter what method of cooking you use key your eye on the shrimp and remove them from the heat as soon as they're done.