Could have gotten into a fight with tankmates, or could have ran into something causing it. When I had my oscar, he would run into either the side of the tank, or rocks when he was startled and often cut or hurt itself.
My biggist worry was always secondary infection with an open sore. I treated with melafix everytime, and never had any problems. Some other anti-bacterial meds would work just as well.