Simply install a patched version of OpenVPN. If you’re using official releases then, go for OpenVPN 2.3.6 or latest Git “master”. If you’re using OpenVPN from your operating system’s software repositories then install an updated version from them.
Read OpenVPN’s advisory here – https://community.openvpn.net/openvpn/wiki/SecurityAnnouncement-97597e732b