〜前に This pattern is used to say that one action happens before another. The verb before 前に is always in dictionary form, even when the sentence is about the past.
Formation
verb dictionary form + 前に ・ noun + の + 前に
| 寝る | 寝る + 前に | 寝る前に |
| 出かける | 出かける + 前に | 出かける前に |
| 食事 | 食事 + の + 前に | 食事の前に |
Examples
寝る前に歯を磨きます。
I brush my teeth before going to bed.
食事の前に手を洗いましょう。
Let's wash our hands before the meal.