How to cut a track correctly

Hi, i want to cut a part of a song anda then i eant to merge correctly the first part with final because they have a part in common where i can merge them… how can i do this? Is there a tool for that?