Arduino SD Card

ahmedhodhod:
the main problem while remove and reinsert SD card not detected by arduino

What software are you using? A lot of the software out there look to see if there is an SD card present and if it does not find one goes into an infinite loop and never looks again. That means if the Arduino is not powered up with an SD card already fitted then it will never see it when it is inserted.