The best way to free up RAM is to close unused apps. You should also prevent these apps from running in the background so they don't consume RAM. Another way is to adjust your startup apps and restart ...
The AI hardware boom is sending memory prices sky-high, so knowing exactly how much you need is more critical than ever. I've worked out the most realistic RAM goals for every type of PC.