When playing accompaniment patterns, the thumb often alternates between the G and D strings. This is called an alternating bass. The next examples illustrate two typical alternating bass patterns. Practice them slowly until you can easily play them from memory and then try adding some other chords with the left hand.
This one uses a pinch on the 1st and 5th strings. Play it slowly many times and then increase the tempo (speed).