Help, my houseplants are infested with pests

In greenhouses, many plants can be infested with tiny pests that are difficult to recognise with the naked eye. With a newly purchased houseplant, these pests enter the household and continue to damage the plant and all other plants in the house. Plants that spend the summer outdoors can also bring larger insects into the house. How do you get rid of pests on houseplants?