You probably accidentally hit the Insert key. That toggles between overwrite mode and insert mode. Press it again to cancel.