I forget who suggested it, but I actually needed 2 alarm clocks to get my sleep schedule under control.
One wakes me up. It is across the room, on my computer chair. When I goes off I move it up to the shelf. Something about doing a task makes me loathe to go back to bed.
One makes me go to sleep. When it goes off, I stand up and put it on the computer chair. That way I can’t keep browsing the net, because I’m stuck standing up.
This was only necessary for like a week. Once I was going to bed at the same time every day I didn’t need alarms to wake up then. Nowadays I wake up almost automatically.
The key for me was going to bed at a set hour every day.