is it safe to take antibiotic amoxicillin when 3 months pregnant?!

Amoxicillin is only recommended during pregnancy when the benefit to you is greater than the risk of side effects or should be used only when clearly needed.
Nausea, vomiting, or diarrhea may occur. If any of these effects persist or worsen, tell your doctor.