How can you tell if a guy genuinely cares or just wants to have sex with you?

Is there anyway to tell if a guy actually cares about you or if he is just trying to f*ck you?