Prepare the glass: Rim a glass with salt or sugar by running a lime wedge around the edge, then dip in salt or sugar.Blend or muddle raspberries: Blend raspberries with lime juice and simple syrup for smooth texture, or muddle gently for rustic texture.Shake the margarita: Fill a shaker with ice, add tequila, triple sec, and raspberry mixture. Shake vigorously for 20 seconds.Serve: Pour over ice for on-the-rocks version, or blend with ice for a frozen margarita.Garnish: Add a lime wedge or a few whole raspberries. Serve and enjoy.