If you forgot your password, then the easiest way is to use a utility that can recover your PST password securely. You can use some password recovery tools like GainTools PST Password Recovery Tool.
Why this tool? Because this tool can securely and quickly recover PST passwords that a user has forgotten.
So, according to me, this may be the best option to recover your password of Outlook PST file.