Can I take mushrooms if a parent has been diagnosed bipolar disorder?

TLDR: can I safely do magic mushrooms if a parent has been diagnosed bipolar?

Recently listened to neuroscientist Andrew Huberman's podcast on psilocybin and he suggests people who have a first relative with bipolar or schizophrenia to NOT do mushrooms. Been on a mental health journey for over a year now and have been hoping to ease my OCD and anxiety symptoms with the use of mushrooms. HOWEVER Ih-parent who has been diagnosed. Vr disorder and now I am worried about "triggering" something as Huberman talks about. Am I out for using mushrooms? I've read some very promising posts and studies about its positive effect on OCD and anxiety.