Haven’t had to do this in a while, but there are full instructions on Expressionengine.com. I included the URL below.
I suggest doing this on a development or local installation first to be sure everything goes well. I usually do that and then move all the files & the database to my production server.
Good Luck.
https://docs.expressionengine.com/latest/installation/updating.html#updating-manually
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.