Ishmael--if you look around on this forum, you'll see that very basic questions receive the same sort of reply: "study more." This is not meant to discourage you, it is meant to keep you (and those around you) safe. At the very least, holding off on action until you learn more will keep you from making, as Göran said, "an expensive mess". At best, it'll keep you from seriously harming or killing someone.
Running a gold cell (or just about any electrolytic cell used in refining) involves maintaining a system of heated, concentrated acids.
Also, each type of material tends to have preferred methods (i.e., acid refining for karat gold scrap, cells to further purify cemented silver, etc.). Hence Göran's second question: what sort of gold bars do you have? Where did you get them? What was the source material? If they're mostly pure, perhaps a cell is in order. If it's something else, a cell may or may not be appropriate. There's also a hidden question in there: if your bars are not pure, how do you know there's gold in there at all? Do you have assay results?