Two docs should help you:
Installation Guide
Migration Guide

In one scenario, what you need to do is run an update script Oracle provides to migrate one version to another, and install the new version's software. There are some other steps here and there, but that is the gist of what you could do.