You should ask for a lawyer when you think the trouble is starting, such as police investigations. Additionally, you can ask for a lawyer before an arrest happens.