Heat 1 tablespoon olive oil in a nonstick skillet over medium-high heat. Add the shrimp to the pan, season with salt and black pepper, and cook for 2-3 minutes per side until shrimp is opaque, transfer to a bowl.
Heat remaining 2 tablespoons of the olive oil in the same skillet over medium heat. Add the garlic and red pepper flakes and cook, stirring, until fragrant, 1-2 minutes.
Add the garlic pasta sauce and basil, season with salt and pepper and cook for 20 minutes, stirring occasionally.
Bring a pot of salted water to a boil and cook the pasta until al dente.
Add the pasta to the cooked sauce and stir in the shrimp. Toss to combine.
Serve with grated Parmesan cheese and fresh basil, if desired.