Is there an update for the device? If there is an over the air update, you can check in the settings for software update. Samsung may also have the update for download, so might the carrier.
I there isn't an update available, then you'll have to root and install a custom ROM if one exists with that version of Android.