Add shrimp; season with salt and pepper, to taste. Cook, stirring occasionally, until pink and cooked through.
Melt butter in a large skillet. Add garlic, shallot, and red pepper flakes, and cook, stirring frequently, until fragrant.