Purchase/Sales return

How I can enter transaction related to purchase or sale return?

There are Guides covering this and most other functions. The one for customer returns is: https://www.manager.io/guides/how-to/credit-notes-for-customer-returns-and-refunds. There is a corresponding one for suppliers.

You should always check the Guides first when you have a question.