Dialogue can be a bit intimidating. All that punctuation. But it’s really not that complicated. The usual practice is to put dialogue in quotes and place an attribution after it, separated with a comma inside the closing quote mark. The attribution will not be capitalized, because it’s part of the same sentence: “Hello,” he said….