The best way to get over a relationship is to forget the past and focus on the future, have a support structure for example friends or family, and accept that it is over. This is easier said than done but it might also help to remind yourself why it ended in the first place.