Just stop talking to the people which may hurt you or make you feel like crap trust me it’s easier than it sounds when it comes to blocking people out! Focus on yourself, you should set yourself goals and just keep your mind fresh and work towards your goals, nothing else should matter, try spending time with the people you love and not give a damn about anything else! This is my way of blocking out all emotions and it really does feels great tbh