By HFM if you mean Hyperion Financial Management then you should go to the forum -
They handle Hyperion Financial Management issues.
If it isn't Hyperion then please give the full name of the product you are using.
The basic steps as provided by Oracle are:
- Apply the maintenance release to Release 18.104.22.168
- Use the upgrade application to upgrade to Release 22.214.171.124.
Each migration requires specific steps, so in order to understand the process I would suggest to refer to chapter 11: Upgrading EPM System products http://docs.oracle.com/cd/E40248_01/epm.1112/epm_install.pdf