Hello Friend, thanks for reaching out here for help. Depression and sleeplessness are interlinked. First, you need find out what's causing you the depression feeling. Then work on the solution to recover. You may need to take a professional counselling support to figure out that, if you are unable to isolated by yourself.
Next Steps
Go for a online counseling support, if you can't meet f2f.