Note that putting a “we use cookies” banner on your website will not absolve you from GDPR fines anyway. You still need to adher to the law about informend consent, storing safely etc.
If you are worried about GDPR, by far the safest is to just not collect personal information.