It's like you don't know the offside rule.
"A player is in an offside position if he (any part of the head, feet or body) is closer to the opponent’s goal line than the second to last defender and the ball – and he is in the opponent’s half of the field, according to Law 11 of FIFA’s Laws of the Game."