Ampicilin 500 mg for pregnant

Katey
Is it safe to take this? 
Full stomach or empty