A judge has ordered parents to stay away from their 1-month-old boy after the child was found in a median near an Adams County gas station on Christmas Day.