My problem for a while has been deciding which method of integration to use in every given situation.

Are there times when you could use either Integration by Parts or U-substitution to achieve the same answer? Is this always/never the case?

In what situations do you know for sure to use each of these methods?