Hello there. Sorry to hear this. There could be several reasons for insomnia including stress, anxiety, behavioural patterns, substance use, etc. A psychiatrist will be able to help you by looking into the reason for your insomnia and providing appropriate guidance. Meanwhile do look up sleep hygiene techniques online and see if you can incorporate the suggestions into your routine. Best wishes.
Next Steps
Consult a psychiatrist who could evaluate you further and give you appropriate advice.