Question: what to answer when someone says good luck?
Answer: The most obvious and basic response to anyone wishing one good luck on any occasion is "thank you" or any of its many variants. "You too" can be added when appropriate, but would not be if the other person is not in the situation, whatever it is, for which good luck is being wished.