How to cook shrimp without overcooking in curry

How to cook shrimp without overcooking in curry