It depends on what you know about the triangle.
The usual formula taught in Geometry class is
.. A = (1/2)*b*h
where b is the length of the base, and h is the height (altitude)
If you know two sides (a and b) and the angle between them,
.. A = (1/2)*a*b*sin(θ)
If you know three sides (a, b, c) then Heron's formula applies:
.. s = (a+b+c)/2
.. A = √(s*(s -a)*(s -b)*(s -c))
If you know two sides and an angle not between them, then you can use the Law of Sines to find the angle between them and use the formula above. In some of these cases, the triangle may be incompletely specified, so there may be two different legitimate values for the area.