Sounds like a wire came loose. If you take apart the calculator and see the loose wire, you'll want to solder it back in place. You might be able to get away with just taping it back in place though.
It could also be a broken trace for the On button which would be pretty difficult to repair.
If you keep hitting the calculator just be sure not to hit the screen or it's game over. The screen cannot be replaced or fixed.