motor races from cold start on 1991 Buick Riviera

My car just started racing from a cold start, the check engine light comes on, but goes off as soon as the car warms up and the engine reduces the RPMS. I am worried that I could damage the engine with the accessive speed

Asked by for the 1991 Buick Riviera