There's a reason so many poker players wear sunglasses.
Anyway, try to preempt your emotional reaction. There's always many different flavors of reactions we can have to something really negative, which normally depends heavily on mood. By default, this all just runs unconsciously, but it doesn't have to. Of the many potential options, like anger, sadness, condescending disdain, arrogant bemusement or surprise, you can try to consciously pick one and channel your feelings towards it instead of just letting your feelings run wild.
Or you can just practice a proper poker face, but that can be really hard. Doable though, just takes a lot of practice. Playing poker would be an effective way to get that practice.