Idk if this belongs on this sub, if it doesn't sorry mods :/ but I need opinions from others

So long story short my first ever gf broke up with me start of the year. I did the work did the healing, ofcourse I still miss her sometimes but yeah.

Here is my problem: when I get intimate with myself she pops in my head with flashback of us "sleeping together" and it keeps happening everytime. She was the first girl I ever did anything sexual with so it can make sense.

Here is my solution I need your opinions on: Since I am over her love wise and I let her go, does me sleeping with somebody else help fix this problem I have ? I have the oppertunity to hookup with somebody so if I can do that, will this help my problem ?