There's a reset procedure for electric windows. It's on here somewhere.
As above, check that there is nothing trapped. When I fitted wind deflectors, I found it helped to assist the window up into the channel the first few times, otherwise, it detected an issue, and dropped the window. I think it detects excess current being drawn by the motor.
Pete