Here are the steps for preparing the onion:
Slice the onion
Warm up oil on a large pan
Add onion in the pan and cook