Where in the New Testament does it say which books should be included in the New Testament and which should be excluded?
The NT canon is very easy to understand:
Apostolic authorship.
Read some conservative evangelical scholarship for explanations of this.
Bruce Metzger has a good book on this.