Succulents stretch out when they aren't getting enough sunlight. You'll first notice the succulent start to turn and bend toward the light source.
Start by cutting off the top of the succulent using sharp scissors. Leave at least an inch or two on the base with 2-3 leaves. The base will do best if you leave a few leaves to absorb sunlight.