The secret to getting delicious caramelized onions is to cook them low and slow. Slice the onions thinly and cook over medium low heat for about 30-40 minutes. You will know they are done when they turn a golden color and have a slightly sweet taste.