back and forth
/ˈbæk ən ˈfɔːrθ/
Examples
He nervously paced back and forth in the waiting room.
I travel back and forth between home and work every day.
We sent emails back and forth to finalize the plan.
My job involves a lot of back and forth between different departments.
The kids were running back and forth in the yard.