Use this phrase when you're offering to do something that will help the listener or make them happy.
Do you want me to call a doctor?
Do you want me to leave you alone?
Do you want me to cook tonight?
When you use this phrase, you sound like you're offering to do something that will make the listener happy. It doesn't sound like you want to do it for your own enjoyment.