Please provide more inforrmation. What were you doing right before the loop started? Pull the battery...back in, hold power and volume down until you see a white screen. From there you can get into recovery and wipe everything and install a fresh rom....unless you messed up while doing s-off or changing hboot which are a little different to fix.