replace igniter

I don’t have a spark on one of the ignitors. When I clean it with alcohol, it sparks fine but that only lasts for a few minutes. Then, no spark. I would like to know how to replace the burner ignitor. Any help would be appreciated.