A method of controlling of an R-peak detection apparatus, which detects an R-peak from an ElectroCardioGram (ECG) signal, includes receiving the ECG signal, reading out a pre-stored ECG template, comparing the EG signal with the pre-stored ECG template to determine a similarity between the ECG signal and the pre-stored ECG template and determining whether the similarity is equal to or greater than a threshold value, and determining a corresponding interval as the R-peak when the similarity is equal to or greater than the threshold value.