I have not been diagnosed with bipolar, but have been with anxiety. This is just a bit of a muddled vent

My grandma and brother both have diagnosed bipolar (both of the same kind and symptom onset was the same too). I’ve done my research so I know what signs to look out for because bipolar can be genetic, from this I also know I have a 25% chance of developing it. This has sent me into a spiral and I’m afraid, which means is overanalyse every last mood I have. I have noticed more recent and more frequent episodes of depression but there is not high afterwards, I just kind of slip back into “normal”. A friend told me today that she thinks I’m bipolar (she doesn’t have much to go on but her psych did think she had it for a while). I don’t know what to do or think - I just don’t want to end up like my in and out of the psych ward grandma or my ex-cocaine addict brother. On top of this, my mum told me she wouldn’t have had kids if she knew bipolar was genetic.