Hello, pengfei xue-- and welcome to English Forums. I am not sure what you are looking for when you say 'title' but formally we call people by title + last name ('Hello, Mr Smith' 'Good morning, Dr Jones') and for friends we just use first names ('Hi, John' 'Good morning, Mary'). As for asking about another person's job, we usually just say " What do you do?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.