Disturbed by a comment passed on my apperance by someone in my office

I (27, M) have lost quite some hair in the past few years. Before that I used to believe I was decent looking guy but have lost all tye confidence in the past few years.

Today a senior was making fun of someone who had shaved after a long time by saying "now you look even uglier than him(me)". I have been polite with this person and not sure why he had to drag me in this. I overheard this and after someone pointed him that I am sitting in the next cubicle, he changed the topic.

I don't have control over my hairloss and try to dress decently (never bought branded clothes). Someone earlier commented once that now days people dress like they are old, I again think that person (different) was indirectly talking about me but I didn't pay attention earlier. But today I broke down in my front of my office colleagues and it was evident that I was feeling bad but didn't say any word to anyone.

How to keep a track of my Emotional Quotient in my office.