Yes, you can often stop an eviction by paying what you owe. This is within the notice time given by the landlord. For example, in Illinois, it's a 5-Day Notice. Paying in time can stop the eviction. But, in some cases, like breaking the lease in other ways, paying may not work.