why dose my engine light come on when i press on gas? on 1990 Chevrolet Beretta

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
my engine light comes on when i push on the gas panle and go off when i dont?
(1) Answer
Get it diagnosed by a shop, there are hundreds of possibilities and without a proper diagnosis we'd only be guessing.
Here are some near you: