How long does it take to get over someone?

I’m currently talking to other people but I’m still not over my ex. We broke up 4 days ago😓 it’s so hard and I’m suffering. We were together 3 years! This pain just makes me suicidal!