Infertility in men

Hello ladies,

My boyfriend was shot in the groin in 2014 (or 2015) the bullet came out of his butt cheek. We’ve been trying for a baby for a month now and nothings happened but my period is irregular so it can be that. Also he has difficulty maintaining an erection, we can be having sex and sometimes it’ll go soft and I heard that’s a sign of infertility.

So my question is, since he was shot in the groin, will that cause infertility? He doesn’t complain about his balls hurting or anything but I know he did mention his balls was swollen when he got shot.

Thank you!