Pain as a rule isn't a good thing, but in a dream usually pain is just a phantom thing. It sounds like you lost control of the WILD and sort of freaked out, which can often lead to nightmarish situations such as yours. Next time, just try to go with the flow of the dream, even if you lose some amount of control, and then slowly build up control until you can control the dream entirely without things like this happening?? IDK, I'm not an expert but there's my two cents ^___^