If you’re still having periods, even if they are not regular, you can get pregnant. Talk to your doctor about your options for birth control. Keep in mind that some methods of birth control, like birth control pills, shots, implants, or diaphragms will not protect you from sexually transmitted infections (STIs), including HIV.
Source: U.S. Department of Health and Human Services