I guess I’m going to step out of the common responses here and say that emotions aren’t to be controlled. The best thing to do with feelings is feel them. All they want is attention, and they’ll typically dissipate pretty quickly once they get that. To be clear, feelings need attention from YOU. Acknowledge them.
Instead of trying to control your feelings, perhaps you’d be better served to control your actions. This is much easier to do when you acknowledge your feelings and then make a conscious choice about how you’ll respond to them instead of just reacting to the feelings you’re trying to repress.
Hope that helps!