What if you forget someone that you lied about and are unable to clear up the lie before you die?

Seek forgiveness for yourself and for people whom you have wronged in general. Pay charity on behalf of people whom you may have wronged.