All the advice posted on this forum is nothing without plenty of practice.
I didn't actually mean that as sarcastically as it sounded...take a martial art that involves a lot of falling, otherwise the same thing will happen again. Until you train your body to react instinctively, you'll just fall down on your wrists thinking about how you should roll with your back.