There are drugs available that can help treat the different kinds of insomnia. In some cases, there are also certain herbs that can help. A third way that seems to help is a type of therapy that aims at changing the behaviour of those affected.