You can choose to forgive even while you are still hurting. The presence of emotional pain does not mean you haven’t forgiven, sometimes it takes time to heal even after we have forgiven. Your feelings WILL eventually follow your decision AND your confession.
The important thing is to make the choice to forgive. Throw off those chains by confessing LORD God I put away all bitterness and wrath and anger and clamour and slander, along with all malice. I choose to be kind to others, tender-hearted, forgiving others, just as You LORD God in Christ also have forgiven me. (Ephesians 4:31-32)