To refine the edges in Photoshop, follow the steps given below:
- Choose the Select and Mask option from the menu bar
- Open its properties and adjust the Refine Slider
- As you move the slider to its right, the image gets sharper, and the edges get cleaned up.