iTunes is stuck in a restore loop. How do I get out of it?

My iPhone just updated to the newest version. It lost all my apps and my music. I want to sync them back to my phone but iTunes is stuck in a restore loop and won't let me sync. How do I fix this?

2011-11-22T13:44:54Z

The YouTube video is for the iPhones that are frozen. Mine is not. It's fine except for when I'm in iTunes it constantly asks to restore or set up a new phone. If I restore it just asks me again.

Anonymous2011-11-20T12:39:12Z

http://www.youtube.com/watch?v=BHrWsBmqUzw