This question already has an answer here:

When I hit the string with a pick, it's tune becomes higher by a few cents.

Should I tune the string the way that string sounds in pitch when I hit it with the pick, or I should I tune it the way the string is perfectly in pitch when it goes from aroused to more stable state?

marked as duplicate by Tetsujin, Community Nov 12 '17 at 12:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.