No. Only condoms reduce the risk of both pregnancy and STIs.
Birth control pills, patches, injections (Depo-Provera), intrauterine devices (IUDs), diaphragms, and any birth control methods other than condoms do not provide protection against STIs and HIV. You should use an external or internal condom in addition to any other method you use to prevent pregnancy.