Clean and prepare the shrimp thoroughly.
Finely chop the onion and garlic.
Heat cooking oil in a pan and sauté the garlic and onion.
Add the shrimp and cook over medium heat until done.
Stir in Sriracha sauce, soy sauce, and sugar, then stir-fry together.
Season with black pepper to taste.
Plate and serve.