U.S. immigration laws are extraordinarily tangled. It's been said that the body of immigration law is second only to U.S. tax law in it's complexity. Furthermore, even modest mistakes in a visa or green card application, or the evidence provided as part of an immigration application process, can lead to years-long delays, or even outright denials and deportation.
For these reasons and more, many people choose to hire an attorney to help smooth the way.
Immigration lawyers interpret the law, help you analyze your own rights, possibilities, and strategies, and guide you (or if applicable, your sponsoring U.S. family member or employer) through every step of the complicated immigration process.
They prepare a lot of paperwork on your or your employer's behalf (which alone can save hours), and help you get organized about which items you must collect on your own (such as birth certificates or proof of a valid marriage).
They make sure the information you present when filling out the various forms, collecting documents, or preparing statements and testimony is clear, correct, and consistent. Many immigration applications depend on the U.S. government officer believing your story, so entering different information on different forms by mistake can create huge problems.
Most importantly, an experienced attorney knows what to expect from the U.S. government, how to avoid or minimize the inevitable delays, and what issues to prepare for to make sure apparently simple applications don't get held up on legal technicalities.
If you find yourself in deportation or removal proceedings in immigration court, the lawyer will research the law to find every possible avenue of relief; help you and any witnesses prepare for your court appearance; deal with arcane court procedural requirements and deadlines; write briefs arguing the law on your behalf; and spend hours in the hearing with you, representing you and helping you present your case.
It's important to understand that the judge deciding your case will not steer you to the right answers, though the judge might ask you questions if you don't bring a lawyer. Only your own attorney will advise you on how best to answer questions and otherwise proceed in court.
Make sure to find an excellent lawyer. (And someone who is truly a lawyer, not a consultant or notario.)
The majority of accomplished immigration lawyers are members of the American Immigration Lawyers' Association (AILA). Although membership in that association is not compulsory, members have access to colleagues, information, and liaison committees that help them keep abreast of ever-changing laws and agency policy and deal with challenging situations.
Your best bet is usually to talk to several attorneys before committing to one. Choose a lawyer with whom you feel comfortable and who has experience with cases similar to yours.