Although melatonin is a relatively safe drug with few side effects, its better to get consultation for sleep disturbances. This symptom commonly masks other psychiatric complaints which might need treatment. Also behavioural therapy and lifestyle changes might help you for long term.
Next Steps
You can consult a psychiatrist/psychologist for sleep hygiene and other interventions if required
Health Tips
Getting a diagnosis for your sleep disturbance will help you better manage it