The fact you've identified it and understand that your reaction is irrational is the main thing. Don't worry about marriage too much, you've still got a lot of time until that time but just focus on it for yourself. There won't always be a punching bag available so maybe you could try some different methods-
And ideas from hadith -
There must be other resources online for you to try. Make du'aa too. If they don't seem to work, you might want to try getting professional help. May Allah make it easy for you.