What should I do?
Check with HR about your benefits. Insurance, short term disability, etc. I imagine you were off the clock, so I doubt workman's comp would be in play here.
No company in their right mind would fire you for an accident that wasn't your fault.
I would definitely go to a doctor and get your back and neck checked out. Don't screw around with that stuff. Trust me on that one.