Window frame with MDF skirting boards

Hi everyone, We have a windowframe from top to the bottom of our garage, so it can be a little wet sometimes. At the bottom I have MDF skirting boards but from what I know, that’s not the best in combination with water. So my question is if there is any way of protecting the MDF to the wet spaces of my garage?