Sleep aids may be a good idea if you've tried behavioral changes and other non-medical treatments, but insomnia continues to interfere with daily activities, productivity, or personal relationships. If your insomnia is short-term, sleep aids may help.