Refer to the Template Hierarchy Codex entry.
- To display the archive index page for a custom post type, use template file
archive-{posttype}.php
. - To display a single post page for a custom post type, use template file
single-{posttype}.php
.
For your pagination issues with a custom query loop, look for related questions on the site.