One usually doesn't have to prepare themself before an ECG test, and there is no restriction on the consumption of food or drinks. One will only have to ensure that the chest is clean and shaved so that the hair doesn't hinder electrical waves from passing through.