You've got a few different questions here, so let's go through them.
Say you have a horcrux and then you get killed. Do you revive in the location of the horcrux?
Simply put, no. When Voldemort cast the Killing Curse on Harry and had it rebound on him, he describes it like this:
“I miscalculated, my friends, I admit it. My curse was deflected by the woman’s foolish sacrifice, and it rebounded upon myself. Aaah...pain beyond pain, my friends; nothing could have prepared me for it. I was ripped from my body, I was less than spirit, less than the meanest ghost...but still, I was alive. What I was, even I do not know...I, who have gone further than anybody along the path that leads to immortality. You know my goal - to conquer death. And now, I was tested, and it appeared that one or more of my experiments had worked...for I had not been killed, though the curse should have done it. Nevertheless, I was as powerless as the weakest creature alive, and without the means to help myself...for I had no body, and every spell that might have helped me required the use of a wand..."
Harry Potter and the Goblet of Fire*, chapter 33: "The Death Eaters"
He doesn't get automatically revived due to the Horcrux. It kept him from death, but he wasn't fully alive either. It's not until 13 years later, when Wormtail creates the potion to return him to his body, that he returns to full being. He didn't need the Horcuxes near him during this process - in fact, the diary had been destroyed, and it didn't affect him (as he had his other Horcuxes around), and the process didn't mention Horcruxes at all.
Do you "discharge" the horcrux to revive? So for example if you use a horcrux to revive, does the horcrux become empty so it has to be filled again?
Again, no. All of Voldemort's Horcruxes that had survived up until his revival still remained Horcruxes, and it's not like he had to transfer part of the soul back into him from one of the containers. All of his Horcruxes (minus the diary, which was destroyed) remained.