This study considers a class of Caputo fractional differential equation. The main results of the existence and nonexistence of positive solutions for a certain problem are obtained by a fixed point theorem. Two examples are demonstrated to illustrate our resu