Clarithromycin 500mg twice a day?!

Is it safe to take clarithromycin 500 mg twice a day while pregnant? 😫 I'm 26 weeks