Anxiety after car accident

I’ve always had anxiety but a few weeks ago I had a very bad car accident. Ever since I’ve had anxiety whenever I have to drive or ride in a car, I have dreams of what our cars sounded like when they collided and how the air bag felt when it hit me. I’m also having random panic attacks. Has anyone else been through this and if so how did you get over it? I know it sounds silly because I should be grateful to be alive, that no one was hurt and that only my car was totaled.