I was told to do this when i had issues
Dont sit in your bed only use and sit in your bed when you are ready to sleep
Try to do more activities during the early morning brain activities dont sit on tiktok or scroll or wtv try to get your brain active if you go to the gym try to go maybe an hour or two after waking up
Relax an hour before sleeping so turn off all devices maybe read a book or something
Make sure for sleep your room is dark pull your curtain or put on a eyemask
Dont drink or smoke or drink green tea 6hrs before bed (chamomile tea you can since it help with sleep)
Try to not nap during the day
Do not eat right before sleep and for dinner dont eat a heavy/oily or carb heavy meal