Clean and prepare the shrimp, garlic, basil, and onion.
Heat olive oil in a pan and sauté the garlic and onion.
Add the shrimp and cook until done.
Add cooked rice and stir-fry until well mixed.
Add basil, then season with salt and pepper.
Stir everything evenly until fully combined.