Well it all depends on the guitar you have. Higher quality (and price) guitars will stay in tune better. The opposite is true for lower quality (price) guitars. MY suggestion would be to bring your guitar to a luthier to have it checked and tuned up. Maybe your g string tuning peg is having problem.