Want Migrate my database from shared to serverless

I want to migrate my shared database to a serverless instance in MongoDB Atlas. I have already purchased the serverless instance and successfully imported all my data tables. However, I am facing issues when connecting it to my application. Many MongoDB methods are not supported in the serverless environment.

Could anyone help me and suggest the easiest way to resolve this issue?

Much appreciated.
Thanks!