Can’t Get Over My Ex-Girlfriend

How can I stop caring about what my ex-girlfriend thinks of me? How can I be confident and remove her love and concern from my heart?