I reccomend you develop sleeping habits, such as going to bed at the same time every night, but for now I suggest that you think about something that makes you happy or that doesn't frighten you amd when you drift off do not be afraid it will scare you even more, althought i am not a doctor I hope this comment helps and if it doesn't go see a doctor and hopefully they have a bettet answer
I know what u mean my mind was completaly awake but not my body i cldn't move even a finger or speak i was so terrified because i wldnt move but i cldnt my eyes were open and nobody was near me!!!
Practise sleep hygiene, and sleep on your sides. It usually won't happen if you are on your sides. Position yourself in a most comfortable position.
Try re-programme your mind that the bedroom is for sleeping. Do your work elsewhere, and switch off your laptop and phones when you are in bed.
During the day, do some physical and mental exercise so that you can get tired at night. Eat balanced diet too. If possible, have a regular sleep and wake up time.
Most of the time, sleep paralysis occurs when your body is not in an optimal state.
Mine occur when i was stressed out ( ̄へ ̄)
I suffer with hypnagogic sleep paralysis, it's currently 3:36AM and I just want to sleep, every time I drift off I fall into sleep paralysis which keeps me up... what do I do? This is literal hell