In many countries, melatonin is available as an over-the-counter supplement without a prescription. However, it is essential to discuss the appropriate dosage and potential interactions with other medications with your healthcare provider before using melatonin.