Heat a frying pan with vegetable oil, crush a clove of garlic and fry it for 1-2 minutes, then discard.
Put onions, carrots, mushrooms, and beans in a frying pan with an interval of 2-3 minutes for frying. If the beans are frozen, defrost them first.