I am a notoriously bad sleeper and have tried all kinds of things. I use a sleep app called Pzizz which helps a lot (really, try it!)

If the OH is snoring (which he normally is) then the app doesn’t block him out so I use foam earplugs and a pair of sleep headphones with a very loud white noise app.