Proxy or Vpn for smartphone: what is the best safest option?

In general I have read that proxy is safe to avoid hacking but also vpn it is.
So because I know nothing about that I am asking clarifications here. Thank you