If you do not know the person, then they are asking in the form of a greeting. You would just give a short response, such as "I'm well, thank you. You?" or "I'm doing okay. You?" etc.
If you know the person well, they probably want to know how you really are.