It’s generally common practice to format your memory card in camera before you begin shooting, but sometimes they can act strangely, and to keep this from happening, losing your photos, as well as having the best writing and buffering speeds, you may want to try this.