Here are some resources to try and help understand GDPR which comes into effect on 25th May 2018:

Hubspot video

ICO - how to write a privacy notice

and on the coding side this site helps with styling a cookie button