Anyone gives sleep aid to their autistic child?

My 10 year old has been in melatonin for a few years but it doesn't seem to be working anymore. He used to go to sleep 15 minutes after giving him melatonin now he refuses to go to sleep and goes to be at 1 and 2 am.