With forks, stems, and bars...all critical points for failure to occur and can lead to catastrophic injuries it is best to replace if there is any question about it. So since you are posting a question then it is my recommendation that you should just buy a replacement.
If you are not satisfied with the above response then you can take some automotive bondo to fill the dent and then paint over the entire stem to cover the repair.
-j