Aciclovir cream contains a medicine called aciclovir. This belongs to a group of medicines called antivirals. It is used to treat cold sores and genital infections caused by the Herpes simplex virus. It works by killing or stopping the growth of viruses that cause cold sores or genital herpes.