How do I overcome sleep OCD?

Hi everyone. Sometimes I feel like I'm the only person struggling with this. Throughout the day I'm calm and fine but closer and closer to when in supposed to go to sleep I just worrying about when to sleep, how much sleep I'm gonna get, and the act of falling asleep. I think it scares me how you don't realize when you fall asleep, and the more I think about it the worse I feel. I'll jumpscare myself awake and I start dreaming and sometimes it keeps me up. I always stay up as late as I can on my phone till I can barely stay up then I finally go to bed. Sleeping is the only thing that scares me and it's been like this for almost 3 years. I know it started because one time I stayed up for like 40 hours and when I tried sleeping I had the most intense panic attack. I think I'm afraid of not being able to sleep and going crazy. Please let me know if u have any help or advice for me. Thank you!