Thank you for writing and I'm sorry you're going through this healthy scare, especially during a pandemic.
The good news is that 98% of these cysts are non-cancerous.
For the 2% that is cancerous, removal is necessary, of course, and further cancer treatments will depend on your results and circumstances.
I found a chat group regarding this kind of cancer. It's a British site but the topic is the same (copy and paste) : https://www.cancerresearchuk.org/about-cancer/cancer-chat/thread/ovarian-dermoid-cyst-and-possible-cancer?page=2#post-1269436
Let us know if this helps and please keep us updated.