It's worth to note that after "some actions" you should:
a) reset the flag that triggered the interrupt and
b) leave with RETFIE
BTW, give a careful read to your datasheet. It's well explained. If so, you would be not asking this question.
Plus a host of others as usual:
1. Setting the global.
2. Setting peripheral.
3. Setting the actual.
4. Clearing the flag before setting any of the above.
5. Saving W and Status.
6. Returing W and Status.