IQ is actually one of the most stable metrics we have for intelligence. It does change with brain development but its also a comparative amongst your age group so your IQ remains very stable throughout your life.
It's not to say you didnt mess up on your test at one point, or that someone who is having a mental episode cant distort it via anxiety or whatever