Help my iPhone SIM card is stuck

My parents were trying to prepare my SIM card in my new(ish) iPhone 3GS. But they aren't very good with technology and although it is a small SIM card that they put in some proper casing given to us by O2 to make it bigger to fit the socket, they put it in the CHARGING end and now it's stuck.

I know my SIM card is probably ruined but is there anyway I could get the back off the phone or any way at all to get the SIM card out? I'm not sure if the charging socket will actually work now, either.

Thanks, Emily.
P.S: It was actually my mums old iPhone.

Something similar happened to me and I took it out with the pointy part of an ear ring