Sd card storage malfunctioning

Is anyone have problems with their sd card? I’ve had to reformat mine twice since having it. I’ve tried to repair it but it never works. I noticed that my doorbell had stopped recording earlier today and couldn’t figure out why