Remove the engine cover and any other components that obstruct access to the head gasket.
Drain the coolant from the engine.
Remove the intake manifold and exhaust manifold.
Remove the timing belt or timing chain.
Remove the cylinder head bolts and carefully lift off the cylinder head.
Clean the mating surfaces of the cylinder head and engine block.
Install a new head gasket and re-install the cylinder head.
Re-install the timing belt or timing chain, intake manifold, and exhaust manifold.
Re-fill the coolant system and check for leaks.
It is important to note that this process requires specialized knowledge and tools, so it is highly recommended to have this repair performed by a qualified mechanic or technician. Attempting to replace the head gasket without proper training and equipment could result in further damage to the engine.