Be sure to let this part of the Apple info Fox Fifth posted soak in:
Before you schedule an appointment, confirm that the specific Apple Authorized Service Provider offers memory upgrade services.
That means some Apple Authorized Service Providers will not add RAM to a 2012 through 2019 21.5-inch iMac. It requires almost a complete gutting of the computer to reach the nearly-hidden RAM slots and that comes with high risk of damage. Because of that, and the high labor costs they have to charge customers, several providers have told me they turn those jobs away. One I visited who will do the upgrade said he has the charge a minimum of two hour labor at US$75/hour to access the RAM slots. That is on top of the cost of the RAM and the resealing kit.
Plus adding RAM will not make the computer "feel" any faster. It is slow storage (mech hard drive), not a lack of RAM, that causes about 95% of the slow 2012-2019 21.5-inch iMac complaints we see here. Our 2011 entry-level iMac with the base mechanical storage tests ~30% faster in transfer to/from storage than the next-generation 21.5's.
Outside of getting a new computer, your only cost-effective option for a noticeable speed increase in your current computer, requiring neither pro help nor opening the computer, is to set up an external SSD as the boot volume. That can make your storage 6-8X faster if you currently have the base mechanical hard drive, and cost less that US$100. See:
Use an external SSD as your startup disk … - Apple Community