*I am using Windows Vista*

I recently did a factory reset to my iphone 3gs and now it is stuck in apple logo loop mode. I figured I could just put it in recovery mode and jailbreak it to stop this process but it did not work .I really need to know how to get my phone out of the apple logo start up screen. I've recently tried using the program iRecovery but I feel like the steps are to vauge for me to understand. Can someone please give me step by step details in using it and also if I have to download any other programs.