"God bless you" is often used as a response to sneezing. I think it comes from the Middle Ages, when a sneeze could mean the Black Plague, and then death. It is a very old custom. In this case you would reply, "Thank you."
If someone says "God bless you" as a greeting, you can say many things, such as "thank you," "and you," or even just smile.