Pat the shrimp dry with a paper towel. Season with salt and pepper on both sides.
Heat olive oil in a large skillet over medium heat. Once hot, add the shrimp and cook for 1-2 minutes per side until pink and opaque. Remove shrimp from the pan and set aside.
In the same skillet, melt butter over medium heat. Add the minced garlic and cook, stirring frequently, until fragrant and golden, about 1-2 minutes.
Add the shrimp back to the skillet, tossing them in the garlic butter sauce. Stir in lemon juice and red pepper flakes (if using). Cook for an additional minute, making sure the shrimp are coated evenly.
Remove from heat and garnish with chopped parsley if desired. Serve immediately.