Why does the garage door close when the button is pushed but does not open or close with the remote?

the batteries are either dead or the remote is crap
<><><>
Batteries dead, remote broken, OR- most remotes have a security code that must match the code set on the door closer. Check to see if they have been changed- usually a row of tiny 2 position switches.