To say "must" or "have to", Japanese uses the nai-form of the verb and といけません (to ikemasen): 休まないといけません (yasumanai to ikemasen), I must rest. Word for word it means "if I don't rest, it won't do".
The nai-form is the one you learned in the last lesson for "please don't". Today it does the opposite job.