Cut lime into 4 wedges. Pour salt or sugar onto a small plate. Run the lime wedge along the edge of your glass, then dip into the sugar/salt and coat the rim.
Pour tequila, triple sec, lime juice, prickly pear syrup and a few ice cubes into a cocktail shaker and shake, shake, shake!
Add ice to the rimmed glasses. Pour shaken cocktail over ice and serve. Garnish with the lime wedges.