Buy a new one and replace it. Most places that sell automotive glass install it for free.
You can purchase a repair car window kit that has the instructions on how to fix your crack. If you have insurance however, I would recommend getting a repair shop to fix it since it is covered on your isnurance.
Genrally repairs are just for holes like when a rock first hits. sometimes small cracks can be fixed. You will probably have to replace it. If the crack in your windshield is small enough you may be able to fix it yourself. There are windshield repair kits that inject a resin material into the crack, if it's too large for that it can be repaired by a professional without having to replace the entire windshield.
buy a new window
To fix a window crack effectively and efficiently, you can use a glass repair kit that includes resin and a curing strip. Clean the area around the crack, apply the resin, cover it with the curing strip, and let it dry according to the instructions. This method can help prevent the crack from spreading and restore the window's strength.
To fix cracked window glass, you can start by cleaning the area around the crack with a glass cleaner. Next, apply a clear nail polish or epoxy resin to the crack to seal it. Allow it to dry completely before using the window again. If the crack is too large or the window is severely damaged, it may be best to replace the glass entirely.
usually by replacing window regulator.
change the window seal / gasket.
you need to replace the window regulator
To fix a windshield crack, it can cost anywhere between $40 and $80 dollars. (depending on how big the crack is) If its a shattered windshield, it could cost thousands, depending on your car model. I suggest you ask a local gas station/repair shop.
Try a silicone lubricant.
No. Get rid of the car or replace the engine!
You replace the hose, and bleed the brakes.