First thing to do is not panic. You need to get the situation under control and accept that you got a DWI. Once you have gotten yourself under control, it is time to find yourself a great DWI lawyer.
Small towns will have a limited selection of DWI lawyers, therefore you will have to go with whoever is in your town. Most of the time, the small town lawyers are really good, and know their stuff, so never be worried. If you are in a major city, then you will have several to choose from. Don't worry, you will have to take time to screen each of the lawyers you are thinking of using.
If a lawyer has been through a very difficult case, and has won the case, often times the lawyer's client is thrilled with the results. The former client also might be listed as a reference. Speaking to the references is a great way to get to know more about your lawyer.
The lawyer selection process can be a tricky one, but if you take your time and do the research about the particular lawyer, you will end up in luck.