Most laptop screens are hard to read in sunlight.
1. Turn brightness to the maximum and turn off battery saver, which dims the screen.
2. Turn off adaptive brightness if it keeps dimming the screen.
3. Use a dark theme indoors and a light one outdoors, whichever is easier to read.
4. Work in shade with your back to the sun.
5. An anti glare screen protector reduces reflections.
If the screen is dim even indoors at full brightness, the backlight may be failing.