Define "a while ago". As for your question, you should be able to connect your iPhone to your computer and restore it via iTunes, however, you did state that your "jailbroke phone won't turn on". Having said that, if you are certain that the battery has enough charge to turn on, press the power key or press and hold both the power and home button until you see the Apple logo.