A photo is helpful, but that one is too close up. One that shows more of the door(s) would really help.
Also, it is customary when discussing cars to post the model & model-year along with the make (Mazda).
If there’s much damage then I’d shop for a pre-owned door (same make, model, model-year) and preferably in that color with the same interior trim/options. It’s a tough search to find one like that, but I’ve done it.
Then, unless the door framing/car body are also damaged form impact the car door can be hung relatively easy, as a DIY or by a shop (fairly inexpensively).
I managed a body shop for a couple of years and I’d prefer the integrity of a good used factory door over a repaired or reskinned or new door, personally.