Regardless of gender, sexuality or whatever, masturbation ends up as #1 in regards to SafeSex.
I suppose if you doing absolutely nothing (“abstinence” perhaps?) it would be safest.. and painfully boring. go away.
If you do things that aren’t “normal” (whatever that means) play it safe!
Don’t do stupid, dangerous things. If a consideration of “Maybe … something bad” exists, then Google it (carefully and make sure the adult filter is off!) and find out how it went and how it was done.