Two methods frequently used are Visual inspection and Hardness Traverse.
Visual
If the metal is steel, etching with Ammonium persulfate (10 mL (NH4)2S2O8 with 90 mL water) will give excellent contrast of the various microstructures-- base metal, HAZ, weld metal. The surface should be rubbed with absorbetn cotton during etching. Time depends on the desired contrast.
Hardness
Perform a hardness traverse of the area in question, going from base metal, through the HAZ, into the weld, and then back through the opposite side HAZ, and then into the opposite side base metal. The hardness will drop as you go from base metal into the HAZ. There are a number of standards that cover this sort of testing. One example is the following:
DIN EN ISO 14271 Vickers Hardness Testing of Resistance Spot, Projection and Seam Welds (Low Load and Mirohardness)