Within 24 hours of the EO being signed, judges in several states blocked the so-called "travel ban" from going into effect. Trump submitted a second executive order on March 6 taking the number of affected countries to six (Iraq was excluded from the 2nd ban). It was, again, immediately stopped by a lawsuit in Hawaii. Trump went on to lose a series of appeals in court.
On Monday, the Supreme Court actually handed Trump a win on the travel ban -- albeit not a complete one.