Before I showed you a picture of the circle of fifths which is what you see below. Only now you'll learn that going in one direction around the circle gives you the circle of fifths and the opposite direction gives you the circle of fourths. This will help you to learn the 4th and 5th intervals.
A perfect 4th is 5 half steps.
E to A
Ab to Db
A diminished 4th is 4 half steps.
E to Ab
Gb to Bb
An augmented 4th is 6 half steps.
E to A#
Db to G
Fifth Intervals:
A perfect fifth is 7 half steps.
A to E
E to B
A diminished fifth is 6 half steps.
C to Gb
D to Ab
An augmented fifth is 8 half steps.
C to G#
Ab to E