Finely chop the mackerel and onion.
Beat the eggs well and set aside.
Add oil to a pan and sauté the mackerel and onion.
Add the rice and stir-fry everything together until well mixed.
Pour in the beaten eggs and quickly stir until cooked.
Season to taste and finish.