If people fight in "irregular (not normal forces") armies not wearing a uniform, and not part of the official military (fighting group of a nation), they are called partisans if they fight against another nation's army, or terrorists, if they fight civilians.