You need to download f.lux on your computer mate it will automatically start filtering out blue light more and more as it gets later at night. I also use "twilight" on my phone as it is similar (although many phones have an inbuilt blue light filter these days).
Apple devices have this OS feature now.