Playing your piano regularly shouldn’t affect the tuning however it will over time be affected by the atmosphere or humidity within your home. In a domestic setting your piano should be tuned either every 6 to 12 months.
Routine tuning will keep your piano pitch perfect.