huiying,
The web site below provides information on 17-4PH stainless steel. When you click on the web site, find the precipitation hardening stainless steels and search for 17-4PH. In most cases, it is desriable to weld in a solution heat treated condition (A) followed by
I would recommend you review this information to understand the various strength levels and heat treatment options. Your post is too open ended to provide any direction.