The biggest chance/risk of getting pregnant is when you ovulate, approximately 10 days before your period starts. But when you’re young and your period is irregular, you can ovulate at pretty much any time, which means that you can get pregnant at pretty much any time, including when you’re having your period.