"I exit the convenience store."
When talking about premises or enclosed area, the basic form to remember easily would be
X に if you are entering, going into, embarking X;
X を if you are exiting, leaving, departing X
While there are more advanced considerations and exceptions involved when composing complex sentences, it is always easier to start from the basic form and add the other parts you need in order to minimize mistakes