An epidemic is when a disease is active in a specific geographic area at a specific time.
A pandemic occurs when a disease or epidemic has spread to other countries or even the entire world.
Although they are similar concepts, the epidemic is limited to a geographic area and can escalate into a pandemic, therefore, the answer is pandemic.