Here are examples of both a Perfect 4th, and a Perfect 5th.
|Perfect 4th – Chord|
|Perfect 5th – Chord|
That means if you turn a Perfect 4th upside down, you get a Perfect 5th.
If you have trouble hearing the difference between the two, imagine the notes are being played one at a time.