The present study aims at developing a method to extract single sweep event-related potentials obtained with Eriksen's flanker task. Unlike previous methods, no a priori assumptions on the characteristics of signal and noise are necessary. The method is based on the wavelet decomposition, bootstrap and a statistical determination of the reliable frequency coefficients across the individual signals at each time point: significant coefficients will be conserved, whereas the other ones will be set to zero. After removing the unsystematic coefficients (i.e. the noise), the signal is reconstructed, allowing to keep only the components of the event-related potentials. The performances of the method are evaluated with both simulated data and real event-related potential recordings, and compared with other methods.