I used following codes and it is working perfectly.
<?php
$terms = wp_get_post_terms($post->ID, 'competition'); ?>
<?php
$count = count($terms);
if ( $count > 0 ) {
foreach( $terms as $term ) {?>
<section class="achievement-section clearfix">
<?php $counter = 0; ?>
<div class=" league-and-season clearfix">
<div class="honour-league-name"> <?php echo $term->name; ?> </div>
<?php
$team = get_post_meta( get_the_ID(), 'football_team_team_name', true );
$args = array(
'post_type' => 'football_league',
'tax_query' => array(
array(
'taxonomy' => 'competition',
'field' => 'slug',
'terms' => $term
),
),
'meta_query' => array(
array(
'key' => 'football_league_team_name',
'value' => $team,
'compare' => '='
),
),
);
$fixture_query = null;
$fixture_query = new WP_Query($args); ?>
<div class="honour-season-name">
<ul >
<?php while ( $fixture_query->have_posts() ) : $fixture_query->the_post(); ?>
<?php
$champion_team = get_post_meta( get_the_ID(), 'football_league_team_name', true );
$terms_competition = get_the_terms( get_the_ID(), 'competition' );
$terms_season = get_the_terms( $post->ID , 'season' ); ?>
<?php
foreach ($terms_season as $object) {?>
<li> <?php echo $object->name; ?></li>
<?php }
?>
<?php $counter++; ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
</ul>
</div>
</div>
<div class="achievement-times"><span><?php echo $counter; ?> </span></div>
</section>
<?php }
}
?>