In this paper, we study the existence of solution of a critical fractional equation;we will use a variational approach to find the solution. Firstly, we will find a suitable functional to our problem;next, by using the classical concept and properties of the genus, we construct a mini-max class of critical points.