To figure out which query is causing it, check the Performance Advisor or the Profiler tab in MongoDB Atlas — both will show you the problematic queries. To fix it, look at the fields you're using in filters and sorting, and create indexes based on that.