Adopt a going-to-bed routine: One hour before bed turn off all technology and dim all lighting. Perhaps do a relaxation exercise and/or have a hot shower.
Do not use the bed or bedroom for anything other than sleep and sexual activity (do not watch TV, read complex material, do crosswords etc).