Hey there, sorry to hear you are having trouble sleeping.
I have been in the same situation so many times and I know how it feels not to have sleep when you know you feel tired and need some rest cause you’ll have to be awake early for work the next day.
As with other answers, there are definitely many reasons you may not be getting good sleep. It could be the mattress, the pillows, stress, anxiety or even your brain, among others.
I am going to focus on the brain because this is what I like to specialize in.
There are times when you fail to sleep because of low levels of the sleeping hormone called melatonin.
It is normally in the brain and can be released in low levels at times, which can translate to lack of sleep.
Personally, I would recommend you know your specific cause of lack of sleep by visiting a doctor and then figure a way to solve it.
If it is melatonin, you can try taking a melatonin supplement to help you with that.
I would also recommend you check out a sleeping program that covers many causes of lack of sleep which can come really in handy for you in the meantime. It is called the sleep salon program.
You can learn everything about -> https://improveyourbrainpower.org/inspire-3-sleep-salon-program-review-my-1-sleeping-recommendation
Hope this helps.
Be sure to let us know how things work out for you.