It depends on the situation. If the relationship is over because of different reasons, then it might be best to block your ex. If the relationship is still going strong, then it might be best to continue to communicate with them.