Fragments are incomplete sentences. Usually, fragments are pieces of sentences that have become disconnected from the main clause. One of the easiest ways to correct them is to remove the period between the fragment and the main clause.
Joby realized that in spite of his fears he must be the drummer boy. At the end of the story, “Joby swallowed, wiped his eyes and cleared his throat, he settled himself.