I cannot sleep, worst attack I've had in my life so far.
Fml I'm not looking forward to the future knowing how this ends.
Sounds awful. Are you doing all the steps? Medication, elevate, cool?
Take your medication.
Drink a lot of water.
Attend to everything you need to do while still up, so that you can lie down soon, and stay lying down, as long as possible.
If you have an office chair on wheels, park it near the bed, so when you get up again, you can roll with your good foot.
Put a bucket near your bed so you can pee without getting up.
Get ice and a towel. If you have no ice, get a bowl of water and cloths.
Gather a bunch of pillows or blankets and build a protective tower of padding for your foot, (high enough so you will be able to elevate your foot once you lie down).
Put the towel inside that fort, as the base.
If you have an electric fan that you can direct, position that near the foot of your bed. Make sure you have the control (cable, plug, switch) near you.
Okay, everything assembled?
Drink more water.
Sit down, and put your foot inside the fort. If you can bear it, apply the ice (the towel will catch the drops). Or test to see if you can endure a wet, cool cloth on the skin (or some drops of water).
Lie back.
Try out the fan. Perhaps the air will cool the wet skin down a bit.
Afterwards, if you find you need to keep warm, after all, drape a blanket over the top of the fort, so that it cannot touch your foot.
Try to keep your foot up, so stay in bed for as long as you can manage it.
I hope you soon get relief!