The psychology of crashes is a funny thing. Back in my MX-ing days I crashed a lot as A: I was crap and B: Some other people were crap.
My pace when I got back on the bike went 1 of 2 ways; if the crash was someone else’s fault (flag marshal at Coventry I’m looking at you) I was right back on it straight away. If I was at fault (do NOT close the throttle if you arrive at the lip of the jump too fast) my confidence took a real beating and I had to build up slowly.
Quickest way back was to ride behind a mate who was the smoothest rider out there YMMV