Depends on who it is and your relationship with that person. If you guys are close friends or close family members, then they are probably just messing with you and you can either joke back or jokingly insult back.
The most effective method though i find is to literally just be like..
"what kind of shirt are you wearing? Thats such an awful color"
ME: "Hmm, i know it is according to society..but i like it

"
or
"Your gay, you know that?"
ME: "and?" (Even though im not)
They usually have little retort if you act nonchalant about it or even happy about being different. People who bully and stuff are only doing so because they have unresolved insecurities of their own