Being called ugly

How many times have you been called ugly? Does it hurt more coming from a friend or a stranger? A family friend called told me I’m ”not a looker” and I’m just trying to understand why he would say that to me.