To edit means to correct a piece of writing so that it is suitable to be published.
She asked her brother to edit her paper before she submitted it to her teacher.
Example picture