While technology is always advancing, most common residential solar panels don’t work at night. Solar panels generate energy from the sun, so when there is no sun, your solar system is unlikely to produce energy. For example, on cloudy days, your system will still produce energy, but it will be less than it would on a bright, sunny day.
The best way to use solar at night is with battery storage. If you generate more energy when the sun is shining, that energy can be stored in a battery for use during the evenings. This practically eliminates your energy bills, as you only pay for power if you run out of stored solar energy.