There are ways of solving this. Easy for an MDB file but much harder for an ACCDB.
However, as we've no way of knowing whether you have the ownership rights to the file, nobody here will (I hope!) explain how you do it.
If you can't remember it, you may need to pay a specialist company to remove/replace the password....but you'll still need to prove ownership.