I know what an anchor baby is, and if you want to stop the practice you are either going to get rid of or amend the 14th amendment.
Or close the border. Or actually read the 14th Amendment.