The words have a very similar meaning - the negative result of an action. Often either word could be used. In general though, with aftermath, the action has now stopped, ie the aftermath of the war, flood, or earthquake. Fallout is generally about less severe actions, ie. the result of an incorrect statement made by a politician.