This looks like breath holding spells. However other diagnosis needs to be ruled out which include congenital heart disease and seizures .
If final diagnosis is made of breath holding spell, there is nothing to worry about. The babies generally grow out of it with age.
During an episode make the baby lie down turned towards one episode and wait for the episode to end.
Iron supplementation can also be started as there is some evidence that it helps in breath holding spells .
There is no need of any anti seizure medications.
Next Steps
Following investigations are needed after consulting a pediatrician
EEG brain
Echocardiography
CBC