Fry the onion and courgette in a pan with the olive oil for 5 minutes over a medium heat. Add the garlic slivers and cook for a further 1–2 minutes, then the pumpkin seeds and cook for 1 more minute. Season well and add the lemon juice.
Meanwhile, cook the rice. Drain it well and if using immediately stir into the courg