President Donald Trump said he's prepared to bring in the military to stop undocumented immigrants from entering the U.S.