what steps should we do if ethanol in a beaker ignites in the laboratory?

Cover it. It can't burn without oxygen.