because the sides are the same it is an isosceles triangle, therefore the altitude forms two right triangles and also bisects the base
Apply the Pythagorean Theorem
5^2 + h^2= 13^2
25+h^2= 169
h^2= 144
h=12
FYI there are familiar combinations for right triangles, might be worthwhile to check them out, it will save a lot of time.
Some examples are 3,4,5 / 5,12. 13 / 9,40,41 etc
Hope this helps