It depends on the context. “Latter” refers to the second of two things mentioned, while “last” typically refers to the final one in a sequence. If there are only two items, “latter” is correct; if more, “last” may be appropriate.