Amoxicillin

Is amoxicillin safe to take , I’m 12 weeks btw . If so can i take probiotics to avoid a yeast infection?