### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
I have terrible insomnia and it s driving me to the point where I can t stop thinking about suicide just so I can get some rest. Herbal medicine doesn t help, exercise doesn t help, I ve tried everything but pills because I have a history of overdose. What can I do?

### output:

Hi Obviously, I would say this since I am a psychiatrist...there are many psychiatric conditions that can cause insomnia. But before you go and see a psychiatrist, please go and see a good physician to rule out physical causes of insomnia. If there are no stresses in life and there are no environmental conditions like noise or heat in the room or light coming from outside, or you're doing stimulating things like video games etc. during nights or taking stimulants like tea/coffee/coke/smoking/stimulant Chat Doctor. E insomnia which is not secondary to any other reason) for which you may need extensive (and yes expensive as well) sleep tests. If you are able to keep yourself safer, than no problem in trying out any system of medication to see if it helps as some of allopathic sleeping medication like alprazolam (alpha). Daizepam, diazepam etc. are all highly addictive.  But if you need quick solution so that you can be safe, given the fact that you are already having suicidal thoughts, please go first to a physician and if that does not help in few days, go for a psychiatric consultation. Please ask one of your family members to hold all medications and other dangerous things with which you can hurt yourself under lock and key and if necessary, if the thoughts are so severe, for them to be with you day and night so that you can be kept safe till you are ok again. This will be needed only for a short period of time, as I am sure that you will recover with two - three nights of good sleep. If suicidal thoughts persist even after that, then it would EB the time to run to see a psychiatrist.  If you live alone and are not able to keep yourself safe, please consider voluntary admission to any hosp