I am about to have my first consultation with an attorney. This will be the first time I have ever met with an attorney. What questions should I ask? How do I know a good lawyer from a bad lawyer?

Any and all advice is much appreciated from those you who have already been through this.

Brief backstory: wife informed me she filed for divorce last week. I was blind sided by this. She has already been working on this for over a year and a half. She had the initiative and I am on the back foot. Kids are involved as well so any custody advice is welcomed. I was served last night right after having dinner with the kids.