This can be a tradeoff. Decide if responding back is important enough to risk getting in trouble. Know the rules of the environment you are in--like school for example. You can always say something like, "I would hit you back, but I know the school rules."