If desired, run a lime wedge around the rim of your glass and dip in salt.
Fill a cocktail shaker with ice. Add tequila, triple sec, and lime juice.
Shake well until the mixture is chilled.
Strain into an ice-filled glass.
Top with Dr Pepper and stir gently.
Garnish with a lime wedge and enjoy!