No real measurements, just use as much as you want, these are just guesses.
Heat pan, add olive oil.
Add onions until clear, stirring around.
Add peas when onions are clear. Stir around, warming up the peas.
Add rice, combining. Add salt and pepper to taste.
You can also add mushrooms, herbs, whatever fits your fancy.