Need help on setting up display of custom post types

Need help on setting up display of custom post types and custom fields in theme.