BartK I have to respectfully disagree with this. Every good pianist will tell you to pedal with your ears not your feet.
Let's start with what problem we're solving, or what aspect we're addressing. Playing the piano is a synergy of senses, body, instrument, mind etc. and we put our focus where needed. There is a physical side which, if you started right, you don't have to think about. In my case, a few years ago, I had the habit of pushing the pedal very far down and up again, because of the bad piano I started on, and not having been observed. This had other side effects and made faster pedal a strain. My ear was fine - the sound I produced was perfect so the problem wasn't noticed. I retrained the physical motions and think I wrote about that elsewhere.
Sophia is asking whether you keep your right foot constantly hovering over the pedal. This is a physical consideration and can also involve things like fatigue or strain. If you have 8 measures without pedal, nobody will hear whether your foot is back on the ground, or hovering. Ear and sound play no role for this. You may be thinking I suggested watching pianists' feet to get an idea of when to pedal. Not so. It was for seeing what people do with their feet.
You will see a pianist slide the foot forward to the pedal, slide it back. The left foot might be doing a counterbalancing at times. Just seeing that gliding, and maybe seeing how a foot rests on a pedal without depressing, some of the easy motions, may give a physical feel.