Do you know why he dumped you?

If not, you need to work on it, fast, if you want to get him back. Start with the reason he gave, but don’t overthink it…it wasn’t necessarily the right one. He might be a coward, or he might have been trying to spare your feelings.

Look for clues in the past, especially the last weeks you were together. There will be something there to give you some ideas.