“After” is used as a conjunction, that is, it joins together two ideas in one sentence. Don't tell them until after they have had lunch. Now on to “afterward.” “Afterward” is only used as an adverb. It helps describe an action that happens at a later time.