Forgive first, then pray
Whenever you stand praying, forgive, if you have anything against anyone; so that your Father, who is in heaven, may also forgive you your transgressions. But if you do not forgive, neither will your Father in heaven forgive your transgressions.
from Forgiveness topic