Set some boundaries
Know if the other person wishes to contact you in the future or not and moreover physical contact should be very much avoided. At all cost avoid having break-up sex with that person.
Don’t assume all responsibility
Hurt is an inevitable part of the break up however you need to mentally separate yourself from the situation and gain some perspective. Prioritize your own health and well being, don’t start making their issues your issues because you are breaking up for yourself and your future.