Best way to reinstall wordpress theme with existing content

Dear community,

I have some bigger errors with my theme and my database and I would like to know how I can most conveniently reinstall the time while keeping all my page structure images and content in place.

It’s a premium theme I purchased from themeforest in this case.

What’s the by step way of achieving this without having to redo everything?

Thanks for your help