Look at using tiny umbrella and or redsn0w to break the loop.
Also if you google you will come across good free programmes to download to attempt the break the loop too.
It would help as others said to give a little more info,
ie: What did you do or install that started the loop off, your firmware and baseband and what idevice your using etc.
Good luck.