I'd echo what both wwaswas and Sancho have said. Don't try and ride pretending it didn't happen, do everything you need to to make sure you feel happy about riding. I had a big off which resulting in 3 months off riding - plenty of time to analyse what happened and visualise how I might have done it differently, and to consider how trivial the outcome would have been if I was wearing pads.
I didn't rush back at it, expecting to be pushing in the same way. I took my time and enjoyed the details and technique of the riding I did "within the envelope" as it were. It wasn't that long before I found it had stopped affecting my riding. What has been constant since is the precautions taken to prevent injury if it happens again and make sure, in the event of a repeat, that the immediate consequences aren't horrid (wearing pads, telling people where I'm going, not pushing it when I'm on my own in the dark!)
Four years on and not wearing pads off road is an extremely rare occurence for me, and I think I'm a better smoother rider as a result of the "recovery" process.