Valaciclovir is similar to aciclovir. When metabolised by the body, valaciclovir is converted into aciclovir.
If you have experienced an allergic reaction to aciclovir in the past, you should speak to your doctor before taking valaciclovir as it may not be suitable.