Early detection is key in preventing costly issues down the road.