Options for migration of data from mongoldb atlas to mongoldb server deployed over vm

I am currently hosting my data on mongoldb atlas and want to migrate it to mongoldb server deployed over vm . I want to understand the option and approach that can used to migrate data.