transmissionslipswhenenginelightcomeson on 1995 Saturn SL1

car runs good/when check engine light comes transmission wont change gears

There is some kind of internal transmission problem occurring. It may be electronic or mechanical. A good diagnosis is in order to determine the fault.

Just in case, check your transmission fluid level and condition to make sure it is good first.