Captured npc minion level progression.
Depends on what edition you're playing (and what game, technically, but since you say "DM" I assume this is some version of D&D).
If it's 3rd ed (or Pathfinder, I assume), and the goblin has default stats, then it's assumed to be a level 1 Warrior, as described in the DMG. In that case it can just gain a share of xp like any other character and level up accordingly.
If it's 2nd ed then there's no official mechanic (unless it's in one of the other books that I never got). You just increase his stats in whatever way makes sense to you, whenever you think you should.
If it's any other edition then you'll have to wait for someone else to come along and answer...