The first thing I'd do is carefully inspect the damage and look for any sign of electrical shorting.... anything blackened or charred by an electrical short. If there is any, the camera is very likely going to need much more than just straightening the pins in the CF socket.
Next, I agree... inspect the card closely for flaws, such as those shown at the second link. Also look for pins broken off inside any of the holes in the card (that would mean that the CF card socket in the camera needs to be replaced, a professional repair involving tearing down the camera extensively and likely cost prohibitive on an older model).
I have a Digital Rebel/300D that I bought very cheap with a memory card issue, hoping to repair it. Upon close inspection, I found the camera shorted and have deemed it too costly to repair. So, sometime I'll just use it as a trade-in under the Canon Loyalty Program that's offered here in the US (I don't know if it's offered in other parts of the world).
The above link merely tells you to turn the camera off. IMO you should completely remove all the batteries and drain any remaining power from the camera before attempting any repairs... It would be too easy to short out pins and destroy the camera while working on those pins.
To drain off any remaining power, take out all the batteries, simply turn the camera on with the batteries out, press the shutter release button a few times, then turn it back off... Don't put the batteries back in until done with the repair. It won't fire the shutter without batteries, but should drain any power remaining in the circuitry).