08 Dodge Avenger

While driving my battery light, oil light, and my lighting bolt light on.also in the dash PRND all had square around all of them.I got home car wouldn’t say anything everything works. After a while it started up.But now it does it from time to time.what is my problem