How does a restaurant start offering food delivery services without decreasing the profit margin?

How does a restaurant start offering food delivery services without decreasing the profit margin?

Help me with the best ways to start offering food delivery services without decreasing my profit margin. Thanks in advance!