Never have Lunesta right after having a meal that is very heavy. generic eszopiclone Lunesta falls under the category of Eszopiclone known as hypnotics. How to Use Lunesta: Lunesta comes in form of a tablet and must be taken by the mouth. Lunesta is a medication that is prescribed by the doctor to help patients fall asleep and it treats insomnia.