Hi, Jesús. The words are interchangeable enough that you would usually be perfectly understood using either finish or end.
But for example, 'he will finish the race' sounds better than 'he will end the race' because ending the race makes it sound like he is quitting.
In asking this question it is clear that you're making note of situational usages of words. That is great. Good job.