Ambien, generically known as Zolpidem Tartrate , is a prescription medication primarily indicated to treat sleep difficulties . This short-acting hypnotic works by influencing certain chemicals in the mind to induce sleep . It's typically administered just shortly before going to bed and is not advised for prolonged use . People