a long time ago , medicine men had flagellated themselves , flaying open their own flesh to access the power of their agony , or even maiming themselves , crushing bones and setting them wrong on purpose to create lifelong reservoirs of pain .