Crashing sucks especially as I get older. I'm 54, been riding on and off road since I was 5 ish. I Crashed 2x on one ride in Colorado last month after almost 8 years of no crashes other than scrubbing trees. Got a little too amped after a climb and was probably descending too fast. Front wheel washed out in loose rock. Cussed, straightened my bars and rode on. Exact same thing happened 2 min. later. Fortunately no broken bones, been riding paved trails until things dry out here in TX, then will get back on the trails. Most embarrassing thing is my worst crash prior was due to being unable to get unclipped when I was trying spds. I went back to the old cage and straps, I leave them a bit loose so I can bail. Oh yeah, maybe time to get some knee and elbow pads.
Not sure there is any advice in there, other than to regroup, take it slow for a while and enjoy the ride whatever speed it may be. Hope you get back to where you feel good about riding!