刮胡子时,我把脸刮破了。

I cut myself shaving.

I cut myself while shaving.

Source: Tatoeba

Sentence Composition