Articles before ordinal numbers
As Lawrence said in a comment, the use of the is not affected much by the presence of an ordinal number. The same rules about when to use "the" apply to noun phrases with ordinals and without them, but the rules are relatively hard to explain.