A 3-year-old child was seriously injured Wednesday evening in New Hampshire after accidentally firing a gun at themselves, according to police.