Porosity is the most common weld defect. For beginners don't rule out lack of penetration and non-compatible welding rod or filler wire. It all depends on how the weld failed if it has. Proper prep and preheat is required in many types of welding. So a little more detailed question can help me give you a more detailed answer. Trapped slag is also a common problem. It creates a void in the weld. Although porosity is the most common defect some porosity doesn't necessarily affect the weld strength.