All I know is that both afterward and afterwards are used as an adverb which also mean "at a later time" or "later, then, following that or subsequent. Another thing is that, North American uses afterward, while those who are outside the North America uses afterwards.