A horizontal tangent means that the slope of the tangent is , right ? So you would basically get the derivative of your function and go hunting for solutions of .
Your function is : (I assume, since it isn't clear in your message)
Therefore, your derivative would be (don't click if you want to find by yourself) :
Spoiler:
Therefore, you would be solving , which is easy since is a quadratic equation. All right ?