I have setup custom post type for my WordPress site, but dont know how to query posts at the frontend.
You can use query_posts function as following (please replace custom_type with your custom post type)
query_posts( array( 'post_type' => array('custom_type') ) );