What is the proper response to a compliment? Does it vary depending on the compliment? Eg looks vs intelligence?

Are they usually some sort of shit test?