Introduction.- EEG: origin and measurement.- Electroencephalography, Evoked potentials and event-related potentials.- ERP Experimental design.- EEG Preprocessing and denoising.- Spectral and time-frequency analysis.- Blind source separation.- Microstate analysis.- Source analysis.- Single-trial analysis.- Nonlinear neural dynamics.- Connectivity analysis.- Spatial complex brain network.- Temporal complex network analysis.- Machine learning.- Deep learning.- Statistical analysis.- Simultaneous EEG-fMRI.- EEG/ERP data analysis toolboxes.- Summary and conclusions.