You ask everybody you know: How long does it usually take to get over it?
There are many formulas. One year for every year you dated. Two years for every year you dated. It’s just a matter of will power: The day you decide it’s over, it’s over. You never get over it.