Hello Friend, Good that you are seeking a help here. Sleep is an important part of both physical and mental health. Sleeping pills will be a just temporary solution . In parallel you need to consult a Psychologist to understand the real reason or root cause for this sleep problem. There are many reasons for sleeplessness, but most common could be lifestyle disorders, dietary, stress, anxiety or depression.
You May need to follow few changes in your diet, lifestyle and follow certain self therapies and excersise. You can consult online which should be easy and convenient.
Next Steps
Feel free to reach out to me online through Practo app chat for further detailed evaluation and recommendation that you can follow practically to overcome this problem.