At the moment you are reacting off your emotions, which is totally understandable and natural. I would give yourself a few days/a week before you take any action. And I say this as someone who has said/done plenty of things off the back of their emotions and regretted it later! Give yourself time to really process the situation before you make a move. Maybe talk it over with a family member or friend, that can really help too.