use a set of drawers, honestly. none of this "hitting" shit. although if you dont know how to do it then i guess its not a good idea.
open the drawer and put the bit of the rim thats bent in, the way its bent facing up, then push the other side of the rim down - viola! it bent back!