No rule says an essay needs to have a certain number of paragraphs, but an essay must be at least three paragraphs. Many people say an essay should be five paragraphs, but it's an extremely limiting rule, and unless you've been instructed to write a five-paragraph essay, there's no reason to stick to it.