A classical guitar needs regular tuning even when you're not playing it - this is important because the wood constantly changes tension. If it sat untouched for a month, the strings could have lost their elasticity and started drifting more than before. This especially applies to the bass strings - they're thicker and under greater tension.
Start with the basics: replace all the strings completely and tune the guitar properly (it's better to use a tuner rather than tuning by ear). After replacement, it might go out of tune more frequently during the first week - that's normal, new strings stabilize over time. If the problem persists even after that, then check the tuning pegs: try to observe whether they turn with play or grip the string loosely. Play means when the mechanism moves back and forth with a gap - then the pegs need to be replaced or tightened.
One more thing - check if the guitar is damaged. If it sat for a long time in an unheated room or in the sun, the wood could have warped, and that affects everything: both the tension and the sound. But start with the strings first - that's the cheapest and most logical solution.