When I have trouble falling asleep I take some sleeping pills.
I also turn off electronics an hour before bed and get into a routine.
Also try thinking of good things instead of things you may be worrying about.
Other things you can do to help you fall asleep are.
Lower the temperature.
Use the 4-7-8 breathing method.
Get on a schedule.
Experience both daylight and darkness.
Practice yoga, meditation, and mindfulness.
Avoid looking at your clock.
Avoid naps during the day.
Watch what and when you eat.