How can you tell when someone isn't being genuine?

How can you tell when someone isn't being genuine? I've had this struggle my whole life and am really proud of my self when I notice someone acting nice and being fake. Can you relate? Do you have a method of distinguishing the difference?