Taking medication for trichomoniasis is considered safe if you get trichomoniasis while pregnant or breastfeeding.