Screen sharing issues

When I share my screen, the people in the meeting see the pixelated image. For example, if I share a screen with code, the letters look pixelated. How can it be solved?