Why do I keep getting a error that says e24 and turns off?

Whenever I turn on my cannon camera the lens opens then closes and gives a e24 error. (The first error was a lens error)

What should I do to fix this?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0