Solar panels can often get damaged if rocks, large hails or bullets hit its surface. Falls are also possible if bolts on the mount get loosen up. In most of the cases there is no need for you to throw the broken panel away as solar panel repair can be done.
First try to see if the panel still works even though it still has the broken glass in place. You might surprisingly see that it will function, of course not at the same output as before but sufficiently enough to satisfy the house electrical needs. If you want to have a fully functional solar panel than you should remove the broken glass and try to replace it with a new piece. This operation might add some problems: in most of the solar panel repair cases you can not keep water from condensing inside and leading to the fogging of the new glass.
Another problem that can appear is the loose solder connections. As the panel heats and cools some of the connections might cut in and out. You can test to see if this is the problem by sharply rapping the panels with your hand. In this case too solar panel repair can be done but it might be a little more difficult as you have to cut into the silicone that embeds the solar cells and reach the back of the cells for repairing the connections. There are some special products that can re-solder the connections. The first one is the silver impregnated epoxy. It is strong and also waterproof. Another useful product is an electronics solder that contains 2% silver. Even self-adhesive metal stained-glass tape seems to be effective for solar panel repair procedures. If you have some physics knowledge about circuits you will manage to repair your solar panel solder connections in no time.