Ne t'y va pas, restes ici means "Do not go there. Stay here. However, Ne t'en va pas, reste ici is "Do not go. Stay here" which essentially is correct as well. Up to you. They're both right in my book. If you're going to pick one, go with the first one.
This but masculine feminine and plural in that order