1. Heat the olive oil in your pot. I usually put the stove on "6" (out of ten), or medium high. Wait until the oil gets hot. I usually wait until I see a little bit of smoke rising from the pot. If the oil is not hot when you add the onions, they will stick to the pan.
2. Add your onions and garlic and quickly stir them until they absorb some of the heat of the oil. Let them cook for about 6 minutes or until they are translucent. Stir them once in a while to make sure they don't stick or burn.