How do you ask for a lawyer?

"I want to speak to an attorney," or just "I want a lawyer."

If you have been arrested, you should make that request before agreeing to answer any questions besides your name and address.