How to encrypt file with RSA and AES that anyone with RSA key can decrypt them? How to encrypt a file with RSA and AES-256 that anyone with RSA key can decrypt them?.
It sounds like you're looking for a hybrid crypto solution.  Some libraries provide APIs for this, e.g. libsodium.  Others, you have to build it yourself with the RSA and AES primitives provided, e.g. OpenSSL.

Without more information from you on your environment (e.g. programming language) it's really hard to provide any specific help.