How do you react to a guy that said he likei you?

Well if you like him then tell him, but if you dont just tell him you want to be just friends.