After changing guitar strings, you will find that your strings get out of tune very easily for about 1-2 weeks, depending on how much you play and how often you retune. ... When you put on new strings, you need to stretch them manually, otherwise they will keep going out of tune until they stretch by themselves.
Why do my guitar strings keep loosening?
The screw at the end of the tuning machine can back out and be loose, causing some free play between the gear and the housing, causing slipping when tension is applied. Try loosening the string until there is no tension on the tuner and then gently tightening the screw at the gear on the peg that is slipping.