After a few minutes add garlic and cook until onion begins to brown.
Continue to sauté until onion is tender, another 1 to 2 minutes.
Saute them in the same pan until onion begins to soften.
Cook, stirring occasionally, until onion begins to brown, about 3 to 4 minutes.
Lower the heat and cook until onion is soft, about 5 minutes.
Cook, stirring, 5 to 10 minutes, until onion is very tender.
Saute, stirring occasionally, until onion is soft and a deep brown color, 15 to 20 minutes.
Cook, stirring occasionally, until onion is soft, about 5 minutes.
Sauté over medium heat until onion is translucent, about 5 minutes.
Place over medium heat, and sauté until onion is soft on edges, about 5 minutes.