Ugh. That totally sucks!
I had a bit of an interaction with a tractor that involved a smushed helmet, loss of consciousness, etc.
I started a thread about it here Returning to training after concussion
The consensus with head injuries seems to be to wait, then wait some more. I thought I was fine 2 weeks after my crash but in the end it took me 6 weeks before I felt ready to train (although I did do a few ‘soul’ rides before that). Every head injury is different, but everyone I’ve spoken to who has suffered one has been surprised by how long the recovery can take so please do be patient.
Hope you heal well!