As a general rule, use integration by parts when you have exhausted other options.
This is always something that we need to be on the lookout for with integration by parts.
Many students want to know whether there is a product rule for integration.
Also, some examples will help the students to get their concept.
The formula as it's sometimes presented in textbooks is a bit difficult to remember.
It is generally useful to make a small table of these values as done below.