To do the splits, you'll need to consistently stretch your hamstrings, hip flexors, and glutes. Stretches for the splits include the butterfly, piriformis, and kneeling hip flexor stretch.
Half split stretch: While kneeling, extend one leg straight in front of you. Place your hands on the floor on either side.