Cant use library netmeta in R Studio

When I try to use library netmeta:
Error: package ‘meta’ 4.20.1 is loaded, but >= 5.0.0 is required by ‘netmeta’
In addition: Warning message:
version 5.0.1 of ‘meta’ masked by 4.20.1 in C:/Users/Magali/Documents/R/win-library/4.1
What can I do?

This is asking you to update the meta package

And this suggests you have both versions installed in different package libraries. I would recommend removing the old version