Sperm specimen are not intended for storage in your kitchen freezer, as the required temperature for maintaining sperm viability is far colder than that home freezers can keep.
Some andrology clinics sell specialized kits which are designed to let you manage the process at gime and maintain the necessary temperature for a week or more. These kits also include the necessary sterile tools for semen collection.
Suggested for you: What Is Artificial Insemination (AI)? – Process, Cost & Types.