To teach law, you need to get a law degree in the US. Then most people don’t go into being a law professor right away. Most people work as a lawyer or clerk for a judge for several years before then going into teaching. A lot of schools want people to publish law review and journal articles, so writing and publishing is also important. Good luck!