sounds like she has either had a fight or got caught.
does she have any other tank mates?
usually injures like this heal well with good water, regular changes majorly help.
just keep an eye out for secondary infections, like it looking slimy, cotton wool like etc.
don't worry if shes healthy she'll do well