Take montelukast for as long as your doctor recommends it. It will only keep working while you're taking it. Do not stop taking montelukast without speaking to your doctor first, because your symptoms may get worse.