The piano is a wonderful instrument and needs to be treated with the greatest respect. It requires tuning every 6 months, especially if it is played often. The temperature of the room is important; not too warm or on a radiator so that you dry out the soundboard and loosen the tuning pins. [This would be obvious if the piano is out of tune quicker than usual and the pitch begins to drop]. If it's too humid, it can cause sticking notes and squeaks and the wood will swell.
Make sure you have a tuner at least once a year to maintain your instrument, just like you would service a car and put it through an MOT. Then further work may be spotted and fixed by a technician before there is too much deterioration.
I hope you have as much pleasure as I have in discovering the world of the pianoforte!