Here is the passage again:
When Will stepped out of the shower, he panicked. Realizing
that all his underwear was still in the washing machine. Damp jockey
shorts were not a good way to start his day.
The second part is a participle phrase fragment. It is missing a main clause, so it cannot be a complete sentence.