Find some good line to say, master the art of saying it, and do it. For example, if you want to compliment a girl on her weight or diet. Instead of saying you look healthy, you can say “I noticed you put on some weight since the last time we met. It looks good on you”. That way you can express your feelings without sounding like an idiot.