How to respond to someone who texts you 'Hey' out of the blue?

Haven't spoke to this friend in two months and out of the blue he texts me 'hey.' What am I supposed to say? I don't know what to answer.
How to respond to someone who texts you 'Hey' out of the blue?
Post Opinion