So you want to explain a numeric outcome variable with one categorical predictor. Question: How many groups does your categorical variable have?
Example: You want to determine if cats and dogs sleep a different amount.
Example: You want to see if math, biology, and English majors spend a different amount on textbooks.