Melatonin capsules are often used as a short-term treatment, typically taken 30 minutes before bedtime. Doses can range from 0.5 mg to 10 mg, depending on the individual’s needs and the condition being treated. It is advisable to consult a healthcare provider before starting melatonin supplementation, particularly for long-term use.