While you are writing wordpress theme coding/query_posts() function ,make sure you
closed the query using wp_reset_query() function .
It may effects on next query and it will give wrong meta (title,description etc ) to that page .
To fetch custom field in your post wou need to use
get_post_meta($post->ID, 'key name', true);
Where $post->ID is the post id for which you are going to fetch custom field .
This function return the value of respective custom field .
Hope This is useful post
Enjoy WordPress Coding 🙂