in addition to just getting off earlier, you can also try to filter some of the blue light / glare from your screens towards the evening. The most popular sunset simulation redshift thingy is probably flux and I recommend giving it a shot. Might help you get tired more easily
It's not a magic bullet or anything, but I find it relaxing for my eyes at least and it might help your sleep too
You can also turn Windows, Mac, and Android devices black-and-white (maybe true for iphones too but idk). This eliminates all color input and, in my opinion, is easier on your eyes and makes redshifted stuff look less weird. It's also less visually appealing, so you want to look at it less. I do this all the time and when I do color-sensitive stuff it's crazy to me how oversaturated digital colors are, and how much digital developers use bright colors to grab and hold your attention.
I think for Windows it's WIN + SHIFT + C to go grayscale, and on Android it's "Bedtime mode" which you can schedule or add as a toggle to your pulldown bar thing