MMC problem

recently bought mmc of 16GB first time used I sent some photos it was working fine but then whenever I send something it goes but after I unplug it the datas all gone only the photos are left. I even formatted it but even after format the photos still remain.