How can I remove a fork if the bolt on the stem is rusted? I got run over a car a few weeks ago and now i have to change the fork.
It's an old racer, as you can see in the picture, with a 1 inch fork. I am trying to loosen it from the frame, but I can't loosen the bolt marked with 2 because of the rust and now it's completely gone. Any advice?

I couldn't post any picture, but the stem and fork is similar to this one:


And the bolt I am talking about is the one that is in the stem and goes to the fork.
You'll need an allen key - probably a 6mm one to take off the stem, which is the silver part that holds your handle bars. If you loosen the bolt and it keeps coming up, hit it with a plastic mallet to knock it back down which should loosen that.

Once the stem is off you will need a headset wrench, probably 32mm. Having 2 helps because it's basically a double nut that holds the stem on. The lower one holds the stem in place and the upper one locks it into position. If you've stripped the nut, I would take it to a shop and they'll have to do some additional work on it and most likely replace your headset.

If you were in a crash, I'd have a bike shop inspect your bike front to back. A crash can do a lot of damage that the untrained eye will not be able to spot and you could be riding a cracked frame or otherwise dangerous bike.