How do I prevent this when building up a weld?

I think it's called undercut? But how to avoid?

I think it's called undercut? But how to avoid?