Engine light stays on all the time on 2007 Cadillac DTS

The delivership put new gas cap on thinking it was it, but light came on again & stays on.

1 answer
It is necessary to retrieve the Diagnostic Trouble Codes stored in yours vehicle's computer to diagnose the problem.