Direct answer: Start with the remote battery. Then check the receiver antenna, receiver condition, nearby interference, and whether the remote is the correct type for that receiver.
A weak remote range problem does not automatically mean the gate motor or main control board is bad.