Filtering the signal might help. The choice of the filter depends on the type of artifacts you see in your signal and the desired outcome. I'll assume that you want to perform R-peaks detection. You say that there were many hand movements, which I assume cause waves in the ECG isoelectric line, which should normally be flat. If so, apply high pass filter with 5 Hz cutoff. Conversely, if your signal is contaminated with high frequency noise but you can still somewhat see the PQRST complex, apply low pass filter with 35 Hz cutoff. If you are unsure you can also filter the signal with 5-35 Hz band pass filter and see whether the signal improves.