A good rule of thumb: If the fault increases in intensity after fermentation is finished and the beer is chilled, it's probably an infection. If the flavour remains static with time, it is probably a process fault.
Just a general rule. Don't bet your house on it, but it's a good start.
MHB is...