HE2 error code is a no heat on dry problem.
What you need to do is with a multimeter check the dryer element and see if faulty. If thats fine then check the thermostats on there and see if any are faulty. If so then they will need to be either reset if they have a reset button on it or replaced.
Once you have done that retry the dryer and see how it goes from there.