If flat, and the sidewall has been folded over and the weight of the car sat on it then i would recommend the tyre is fit only for the bin and replace it. I think most tyre places would say the same too. if just soft and not driven on then it should be ok.