Don't believe the denialists who claim that IQ doesn't mean anything, or that it only measures one "aspect of intelligence", or that only measures performance on a test and nothing else. A century of research has made quite clear that there is a general factor of intelligence g that quite reliably predicts almost every life outcome that matters - from school grades to work performance to criminal behaviour to life expectancy. No, the prediction is far from perfect, but that doesn't mean that it's a "useless" measure. Height isn't the only factor affecting success in basketball, but is it a useless statistic?
The claim that IQ only measures "one aspect of intelligence" is also quite untrue. Most IQ tests actually measure not only g but also various specific/crystallized intelligences. These "other intelligences" may generally be construed as "trained intelligence".
And in any case, all intellectual abilities - mathematical or social or linguistic or what have you - correspond quite well with g, so highly g-loaded tests like the Raven's Matrices are rather good at quantifying how intelligent a person is. In other words, someone who reliably does well on (good) IQ tests will typically find themselves more capable than average in all sorts of learning.
As for training to beat IQ tests, sure. That's just cheating the test, however, and doesn't change your actual intellectual prowess. Any test can be rendered ineffective if you cheat, but that doesn't really say anything about the effectiveness of the test in and of itself.
Finally, the general factor of intelligence is indeed quite static, barring neurologically-significant events like brain damage or developmental malnutrition. That said, crystallised intelligence is far from static. To oversimplify, we can think of general intelligence as our raw potential and crystallised intelligence as our achievements to date. While someone with little potential will likely not achieve much regardless of effort, most people will be able to make quite big differences in their own lives if they choose to.