Countries really can't ban crypto (well, they could, but it would be next to impossible to enforce). What they can do is they can ban or restrict exchanges (especially ones that convert to fiat), they can make it hard for banks to connect to exchanges or demand that banks can't knowingly receive from an exchange, and they can go after ICO's (since most ICOs publicly declare their founders/team). As far as what you can do to protect yourself, I would say the same to any investor: don't have your eggs all in one basket. Protect yourself, don't invest any more than you can lose. As you make profits, take small portions of those profits out and liquidate. Yes you might lose some potential gains, but at least you can't lose ALL of your gains at that point.
You shouldn't count on the worst, but you should be able to survive it if it does happen. Also, try to read a lot. Try to get a handle on how your government talks about cyrpto. If everything they say is trying to flare up sentiment against it ("money laundering, terrorist funding, a threat to main street!"), it could be them preempting the society for a move against it. The more and more large institutions in your country are interacting with crypto the better, since these institutions have political clout, and they lend legitimacy.