Hello...sleep issues can be very distressing sometimes.also it again induces depressive symptoms.as u mentioned that u are already sad and worried about your marriage/unmarried issues, not getting proper sleep may increase it even more..
Sleep can also be secondary to the depression.
You need to consult to a psychiatrist for detailed evaluation of your sleep and accompanied symptoms.
I am afraid that medications can't be prescribed without detailed evaluation and history.
Next Steps
u can take my appointment online or contact me for further help.