As a veteran of a couple of crashes, both requiring medical attention, albeit no hospitalization, you need to assess if the accident was avoidable and what steps you can reasonably take to prevent a future recurrence. I would also start back to biking slowly, to regain your confidence. Despite the perils of cycling, the benefits still outweigh the risks.
Just remember the immortal words from the Roughrider himself:
Far better to dare mighty things
To win glorious trimuphs, even though checkered by failure
Than to take rank with the poor spirits
Who never enjoy much or suffer much
Because they live in the gray twilight, that knows not victory, nor defeat