Question: when does jon snow get ghost back?
Answer: In season six, Ghost notably slept beside Jon's body before Melisandre brought Jon back to life. And though we haven't seen much of him onscreen, he seems to have been faithfully guarding Winterfell through most of the last two seasons.