Short and sweet, I will explain punctuating dialog, and only dialog, in the way I wish my teachers had.
Don't let what all the "rules" scare you. Once you have this "lesson" down, you will be okay in over 95% of the dialog you write.
If you get confused, look online for answers to your questions. (Be very careful to only use sources that know what they are doing. If you see words like "I don't think" or "In my opinion" look elsewhere.) When I started writing, the internet was not an option.
I looked in books to see how what I wanted to do was done. Publishers and editors had looked over every line before the book went to press.
(It would be naive to believe they caught every error, but you could take it to the bank any slips were few and far between.)
You can still do that, but
only
with books on paper and of publications at least 20 years old.
Never
use anything self-published as your guide.
(I guess using those criteria, you shouldn't use this as your guide. But, wait, I'm different. You can trust me.)
Of course, other English-speaking countries have different rules for the punctuation of dialog. (In the United States, the period goes inside the quotation mark. In the UK, it goes outside.)
This is what I know about the rules in the US.
LET'S GET STARTED
IF YOU GET NOTHING ELSE, please
ALWAYS start a new paragraph when you change the speaker.
Always. There are no exceptions. None.
(Bill could hear the shouts from the crowd. "That's not fair." "How can he get away with that?" "Someone has to put a stop to it." is the
same
speaker - the narrator. The narrator is telling you what is going on. No character(s) in the manuscript is/are speaking.)
THE SIMPLE SENTENCE.
The