When meeting a person for the first time you can say “How do you do?”, which can be answered with “How do you do?” or “Nice to meet you.” You may only say “How do you do?” once to a person. The next time you meet this same person you may say “Nice to see you again.” or “How are you?” but NOT “How do you do?”