During the first trimester, your doctor may consider penicillin if you think it is needed to treat an infection or other condition. However, the use of any drug should be done under the guidance of a doctor, as doctors will weigh the risks and benefits of the drug and choose a drug for pregnant women on a case-by-case basis.