Suggest some sleeping techniques/ otc medicines. I can’t fall asleep

its been happening for months now since i came to kochi for studies, at first it was home sickness and not being used to living in a hostel with strangers, then it was anxiety and now…i dont even know whats wrong now but i cant fall asleep, i get 2-3 hours of sleep at max and i want to improve it. i want to go to the gym but i cant because of this mess.

I tried a 5mg melatonin gummy from zepto from a brand called nutriburst, and i dont know if its placebo but it made me drowsy by 12 am (the 3 hours of sleep i get are past 6am), but still i couldn’t fall asleep… i was too tired to stay up but not tired enough to fall asleep. 🤡. Is there any techniques i can use to fall asleep or any medications or should i just consult a doctor?