The word quarantine carries with it anything but something pleasant. It implies that you are someone to be separated from your community. In effect, you are being "sent to Coventry." It doesn't feel good, it affects your psyche and it leaves you questioning yourself and others. In addition, it may affect your income and your relationships. But there's hope.
What to Do During Your Quarantine
Perception is always the one thing that determines your mental state in any situation. Seeing the good that comes with quarantine may seem a bit odd, but it's what you need to do.
During a quarantine you have time for you, something we don't often see these days, so put it to good use instead of moping around and allowing anxiety to grip you.
Education: Quarantine is a time for learning. Go online and see what free courses interest you. You can not only acquire new job skills but discover new interests. Coding is important and here's a place for free courses: https://www.freecodecamp.org/
More courses can be found at https://www.edx.org/, https://www.coursera.org/courses?query=free, http://www.openculture.com/freeonlinecourses
Books: Read and explore the books you've wanted to read but never had the time for. Don't have many books? Here's where you can download classics for free: http://www.gutenberg.org/wiki/Main_Page
Exercise: We know that if you exercise regularly, it improves your mood. If you're accustomed to going to the gym, you can experience a type of exercise withdrawal during the quarantine. Exercises are on https://www.youtube.com/ so use them to keep your body and mind in shape now.
Write: You are going through an experience that may prove valuable to you in the future. Begin journaling about it and then consider publishing it on a blog or in social media. Never journaled? No problem. Here's a basic guide: http://bitly.com/2VUKpq6
Bottom line: Quarantine can have benefits not only in maintaining your health, but in broadening your life in ways you never imagined. Use the time wisely and you will benefit from this time alone.