In a saute pan add olive oil, crushed red pepper flakes and onions, saute a couple minutes and add 1/2 of the garlic, cook for 5 minutes on medium low heat. Add mushrooms and salt and pepper to taste, saute til mushrooms are cooked. Add peas and cook 5 more minutes, stirring occasionally.