It's very common to stay awake late at night, and it's really frustrating when you're trying to sleep, even with your eyes closed, but you just can't fall asleep. Sometimes, your eyes even open multiple times during the night, lol! I've struggled with this a lot, seriously. But now, things are better. I'm sharing a few tips—follow them, and you'll see the difference.
Avoid using your mobile phone an hour before bed.
Increase the number of meals you eat. Don't increase the amount of food in one meal; instead, start eating small meals every 2 hours.
Add supplements to your diet, like magnesium glycinate or magnesium L-threonate. (If you know any retail stores, buy from there, or you can get them online. As a suggestion, AOB Nutrition is a good store.) Magnesium helps a lot with insomnia.
Incorporate exercise into your routine. The main goal is to tire your body so it will crave rest at the end of the day. You can also join a gym.
I'm following this routine right now, and it's really helped me, especially the exercise and magnesium supplements. Now, I start feeling sleepy around 10 PM, which is my peak time. But I go to bed at 11 after reading a book. Oh yes, also add reading before bed. Trust me, you'll see a difference in a few days.