What happens when you connect your iPhone to iTunes and hit the "Check for Updates" button? You say "its till not working" but you don't provide many details for us to try to help you "fix it".
Is your iPhone one that is taking "forever" to backup and therefore you can't upgrade? Is it that you are having problems downloading the update from Apple? Does your computer not detect your iPhone when you plug it in? What *is* it doing?