Better define "popped". For the vast majority of punctures, all you need to do is put in a new inner tube, or patch the punctured tube; the tire is fine and can be reused. Just have to make sure that the object that caused the flat isn't still embedded in the tire (find hole in tube, find corresponding area on tire, look for the hole and see if any glass/thorn/metal stuck in there). Go by distance from valve stem, figure out where label on tire is vs. valve stem before removing tire; most people install tire label centered over valve to make this easier. Or tell us if you got a "pinch" aka "snake bite" flat, which is not caused by foreign object puncture, but rather the tube getting caught between tire & rim, this is characterized by two closely spaced holes in the tube, and is avoided by using higher inflation pressure.
Only if the tire has like a large gash from a big piece of glass or something do you really need to replace it. In this case, what to replace it with depends on the terrain you ride on. If you ride exclusively on paved roads/trails, it could be a good time to go to slicks if your bike came with knobbier tires (you should tell us what model tire you are using now, what the label says, and maybe which model bike), maybe replacing both your tires.
And definitely get a flat repair kit: tire levers, spare tube(s), patch kit, saddle bag to carry them if you don't have one, and a frame pump (I like the Topeak Road Morph G) so you don't get stuck having to walk again (at least for ordinary punctures).