By and by has 3 different meanings across 1 category:
Adverb
Heaven; the hereafter. Usually preceded with "the sweet."
at some eventual time in the future
"By and by he'll understand"
"I'll see you later"
After a short time.