My car's check engine light is on and now there's a weird rattling noise
That sounds serious a check engine light plus rattling isn't something to ignore you should get it scanned soon
Look if the noise comes from the front stop driving and get it checked right away a loose part could drop or cause a bigger failure
In my experience a rattling can be a loose heat shield or a worn suspension part a quick diagnostic tells you what to fix
Im not sure what this means over text but probably best to get it checked soon even if you just drove it home