NMoasis said: Judging by the small size I'll assume you're putting it in a pot. The pot should be quite small as well. Max about 6 inches wide (about 16 cm).
It looks healthy. Is there something on the end of the stalk? It should be cleanly cut and allowed to air dry completely until it forms a callus. Then stick it in your gritty soil as TomTom described, about an inch deep. The soil can be slightly damp to start, but DON'T water the new planting for a week or two or three. You might need to prop up the plant with a stones until it forms roots and can support itself. That could take weeks.
When you water, saturate all of the potting mix, allow it to drain, then don't water again until the soil is dry all the way down.. From your description, it sounds like you understand that your aloe shouldn't stay wet — it must dry between waterings. Overwatering is the #1 cause of potted aloe death.
If you keep it indoors, it needs the brightest light you can provide, right by a window. Better outside in sun; okay to give some protection like shade cloth during the most intense midday sun in summer if necessary.