Q: My check engine light has recently began illuminating and then turning off, why? on 2005 Cadillac STS

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
My check engine light will illuminate for more days than not but it comes on for a few days and then it will turn off for a day. It seems to, possibly, come back on after the car heats up or has been driven 30 to 40 miles. I replaced the gas cap already.
(1) Answer
When light turns on take to your local autozone for free check. This will give you good direction to go in.