Hello
You will need to install the 10.2.0.5 installation media and install the software first.
Once the 10.2.0.5 software has been installed you will need to start the Database Upgrade Assistant (dbua) to upgrade the database to the patch set 10.2.0.5
Regards
RB