One thing I have been doing is I mark where the tube is in the tire before I take it out.
Here's a trick that I learned: When you put the tire on, always line the valve up with the logo on the tire. You'll always know what part of the tire the puncture corresponds to.