I agree very much with @Newshound on this one but I need to add that you should buy an endurance sd card. I haven’t been able to find a single issue anyone has had with cards while using an endurance spec card.
regular cards on the other hand are not made for this application and seem to have issues many times.
there are quite a few cards listed in this thread that might be helpful to you should you choose to go that route.