⟩ What one should do if he didn't get the job?
Even if you didn't get the job, thank the interviewer for their time.
Don't be angry or overly-disappointed - accept the fact that there were probably many other qualified candidates and view it as a valuable learning experience. Whether you are informed via phone or email, you should send a follow-up message to your interviewer thanking them for their time and for giving you the opportunity to interview with them.