~ごとに
Each time or every unit
You'll be able to say that something happens with every item, occasion, or fixed unit.

父は一時間ごとに休憩します。
chichi wa ichijikan goto ni kyuukei shimasu.
What do you think this sentence means?
My father takes a break every hour.
Repeat at each unit or occasion
~ごとに means every stated interval, item, or occurrence. Each unit triggers the action or distribution.
季節ごとに、店のメニューが変わります。
kisetsu goto ni, mise no menyuu ga kawarimasu.
The restaurant's menu changes with each season.
Form and use ~ごとに
Use 一時間ごとに for every hour and 会うごとに for every time you meet. おきに emphasizes a gap; with days and counted items the two can yield different schedules.
一人ごとに紙を配ります。
hitori goto ni kami o kubarimasu.
I distribute paper to each person.
会うごとに芽衣は背が高くなっています。
au goto ni mei wa se ga takaku natte imasu.
Mei is taller every time we meet.
このビルは階ごとにトイレがあります。
kono biru wa kai goto ni toire ga arimasu.
There's a restroom on every floor of this building.
ゴミは種類ごとに分けて出してください。
gomi wa shurui goto ni wakete dashite kudasai.
Please sort your trash by type before putting it out.
このホテルは部屋ごとにエアコンがついています。
kono hoteru wa heya goto ni eakon ga tsuite imasu.
Every room in this hotel has an air conditioner.
6 more examples in the grammar path — free for a limited time.