Write or play the basic version of the chord. This has the first note of the scale, called the root note, on the bottom; the third note of the scale in the middle; and the fifth note of the scale on top. In a C major chord, write or play C-E-G. This is called the root position.
Move the bottom note up one octave, so that the third is on the bottom and the root is on top. In a C major chord, write or play E-G-C. This is the first inversion.
Repeat this by moving the third from the bottom to the top, an octave higher. The chord now has the fifth on the bottom, the root in the middle and the third on top. In a C major chord, write or play G-C-E. This is the second inversion.