How long does it take to get over a break up

What are some tips to just move on. We were together for 2 years and it just wasn’t working out. Bad communication , no trust & he never understood how I felt. He was a victim player but it al still hurts. Smh