If the equilibrium price (Rs 8) in the above figure (of Q-5) is above the minimum of average cost, then it implies that the firm is earning supernormal profits. This situation will attract new firms in the market. As the new firms enter, the industry supply of output will also increase. New firms will continue to enter the industry that will lead the price to fall until it becomes equal to the minimum of the average cost. Thus, the supernormal profits are wiped out and all the firms earn normal profits.
When the free entry and exit of firms is allowed, the equilibrium is determined by the intersection of demand curve and the 'P = min AC' line.