The most commonly recommended way to fall asleep faster is to go to bed at about the same time each night and to start winding down half an hour before. Sleep is hard to force, so the useful work happens earlier in the evening.
Pick a bedtime from your wake-up time
Start from when you have to get up and count back. Sleep is often described in cycles of roughly 90 minutes, and many adults aim for five or six of them. The bedtime calculator does the counting and gives you a wind-down time too.
Wind down for half an hour
Give the last 30 minutes of the day a different pace: dim the lights, put the phone out of reach, and do something quiet. The same few steps each night help, because the routine itself becomes a signal that the day is ending.
Slow your breathing
A slow counting breath gives your attention something plain to follow. Many people use 4-7-8 breathing in bed: in for four, hold for seven, out for eight, for four rounds.
If you are still awake
If you have been lying awake for a while, it is fine to get up, sit somewhere dim, and do something calm until you feel sleepy again. Watching the clock tends to make the night feel longer.
What varies
Ninety minutes is an average, and so is everything else here. How much sleep you need and what helps you settle are personal. If trouble sleeping lasts for weeks or wears you down during the day, talk to a doctor. This is general information, not medical advice.