You push the button to close the garage door.
Garage door closes then reopens.
Your garage door is programmed to travel a certain distance before it closes.
It goes partway down reverses direction and goes back up again.
This is almost always the result of a dirty or obstructed safety feature.
If it closes before that distance has been traveled it thinks something is wrong and it reopens to help prevent any damage or safety risk.
If your garage door won t open or close the problem could be a bent track a broken torsion spring or a bad capacitor int he motor housing.