rear ended

I was rear-ended almost a week ago and now my anxiety has been worse I can't control it I can no longer Drive for a long period of time my question is can I get compensated for this do I need to hire a lawyer or do I talk to my insurance someone please help I'm never in an accident so I don't know what to do