I alway have a GFCI behind the electrical supply to my aquariums. I installed this one yesterday.

https://www.amazon.ca/gp/product/B07428GNT4/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1


GFCI