Version 5 of what? iOS? You can only update to iOS 5.1 now - the earlier versions of iOS 5 are no longer available. Instructions for upgrading can be found here:
Read the instructions and the warning information carefully or you'll run the risk of losing content and data.