Medication is only going to help half the problem, You also need to be in Therapy where you will learn skills to have a more stable life.
Coping skills like, Breathing skills, Meditation, Mindfulness, Good sleep hygiene, Grounding skills, Healthy foods, Exercise, Yoga, Cardio, learning how to use Boundaries and what they actually are. Find out what your triggers are and how to manage them...... The list goes on and on. It really boils down to a major lifestyle change.
Bipolar needs to be attacked from all sides . Bipolar cycles , that's what is does "cycle" The goal in treating and living with Bipolar is to cut down on the amount of episodes you have.
If your having thoughts of hurting yourself your Pdoc really needs to know about. If you feel unsafe reach out for help now. A crisis line or the ER ..
Welcome to PC

Just keep posting, remember your first 5 posts needs to be Okay'd by a Moderator, after that once you hit submit your post will show.