Do you need to keep raw shrimP cold until cook it?

Yes

Raw shrimp is considered a "potentially hazardous" food because it is highly perishable and can easily become contaminated with harmful bacteria. Keeping raw shrimp cold is essential to prevent the growth of bacteria and to ensure that it remains safe to eat.

As soon as you get raw shrimp home from the store, store it in the refrigerator at 40°F (4°C) or below. If you are not planning to cook the shrimp within a few days, you can store it in the freezer at 0°F (-18°C).

When cooking raw shrimp, it is important to cook it thoroughly. The internal temperature of the shrimp should reach at least 145°F (63°C). This will kill harmful bacteria and ensure that the shrimp is safe to eat.