Should I shake the hands of interviewer before or after the interview?

I had an interview last week and I didn't shake the interviewers hand before the interview but I did shook her hand after the interview is that wrong?
Should I shake the hands of interviewer before or after the interview?
Post Opinion