mtot xt1022 unfortunately google has been stoped after flash also need help

hello expets ; as i received moto xt1022 hang on logo i flashed with 4.4.4 & 5.1 now when unit turn on error is appearing "unfortunately android has been stopped "even hard reset also done but still unit havin same problem
need help to fix out what more i can do ???