How do you tell??

How the hell do you tell if a guy is flirting with you or not?? I kind of think this guy likes me but then sometimes he pulls back and it confuses me! And men say women are confusing....😒