Penicillin... was just diagnosed with an ear infection.

Hope

I just entered my tww and just left my doctors office, I have the start of an ear infection and was prescribed penicillin. Is this ok to take? I don’t want to jeopardize anything. Ugh!