Stand on a pier and count the waves that slap one post: 12 in one minute. That is 12 cycles in 60 s, or 0.2 cycles per second, a frequency of 0.2 Hz. Each wave arrives 5 s after the one before, and that 5 s is the period T. Frequency and period are two views of the same rhythm: f=1/T and T=1/f, so a fast rhythm has a high frequency and a short period.
The source sets the frequency. A guitar's G string vibrating 196 times a second makes the air vibrate 196 times a second, and your eardrum follows at 196 Hz. Your brain hears higher frequencies as higher pitch: a bass drum sits below 100 Hz, a whistle can be above 2000 Hz. Human hearing runs from about 20 Hz to 20,000 Hz. A dog whistle sits above that range, so a dog hears it and you do not.
Frequency is not speed. In one material every sound travels at the same speed, about 343 m/s in air, high or low, which is why the bass and the flute in a band reach you together. Raising the frequency squeezes the waves closer together, giving a shorter wavelength, but they do not arrive any sooner.
Think of it like this. Frequency is a drummer's tempo: count the beats in one second and you have hertz. The time between beats is the period, so a faster tempo means a shorter gap. Unlike a drummer, though, a wave never changes tempo on its own; it keeps the beat its source set, even when it moves into a new material.
Core idea. Frequency is the number of cycles per second, set by the source; it is the reciprocal of the period, f=1/T, and it does not change how fast the wave travels.