Taking breaks like that is not how the pill should be used, as getting off and back on in a short amount of time increases your odds of blood clots and you will need to go through an entirely new adjustment phase of 3-6 months. One or two months off probably won’t make a difference, as it can easily take up to a year (or longer) for your body to adjust being off birth control again, and during this time you can experience all sorts of side effects and withdrawals.
You’ve only just gotten through the adjustment phase, if you feel like it’s not working out you are better off trying a different pill or method entirely, but you wont know if the side effects on those will be better or worse.
I would recommend reaching out to a professional if you are struggling with your mental health.
If you are certain of your choice and plan to get off birth control it should be for a minimum of 12 months before getting back on.