If you have to ride it, you could consider taking it to a machine shop, cold working it back into line as best you can and then welding some half tubes or shims alongside the bent area (might need to slacken your cabling). It will be ugly and heavy, but I wouldn't ride it down any hills or at high speeds like it is now. For the wheel, you probably want a new one, but you might be able to make due by adjusting the spoke tension to try to push out the ding. Make sure to lube the nipples.