How do I know how he feels about me?

there's this guy that acts like he likes me and is always flirting with me but whenever his Jock friends come over to talk with him in front of me he acts like a douche bag... what do I do?