To ruin something means to harm or damage it greatly.
Our walk in the park was ruined by the sudden rain.
Example picture