This document presents a new methodology for detecting type-B artifacts in Visual Evoked Potentials (VEPS) using a median deviation algorithm. The study discusses the challenges posed by non-responsive channels and trials, and introduces tests such as standard deviation, clipping, and kurtosis to enhance the accuracy of evoked potential data. The findings indicate significant improvements in identifying and removing artifacts, thereby increasing the reliability of clinical evaluations based on VEPS.