Pick over dried lentils to remove any foreign materials. Rinse.
Add water to the lentils, covering by about 1 inch.
Bring to a boil.
Reduce heat and simmer until just tender. This can take anywhere from 20 to 60 minutes depending on the age of the lentils.
Check the water level regularly to make sure the lentils do not burn.
Do not add salt.
In another pot, saut onion, garlic and red pepper in oil.
Add lentils and stock.
Bring to a boil, reduce heat and simmer for 30 minutes.
Stir in tomatoes, corn and seasonings, and simmer another 10 minutes.