You don't have to do anything. Gamerscore earned while offline syncs automatically the next time your console connects to Xbox Live and you sign in. Give it a moment after logging on — achievements from several sessions can take a short while to reconcile.