How to display the requested post only?

WordPress creates the default query on each page automatically based on the requested URL. Your template file should contain the standard loop to output whatever the default query contains.

if( have_posts() ){
    while( have_posts() ){
        the_post();

        the_title();
        the_content();

    }
}