What should I do if Bitcoin is prohibited in my country/region?
There are too many ways to trade like buy and sell Bitcoin even though it was banned in your country, as mentioned by @Upgrade00 use P2P exchanges is much better to hide your identity and have a normal transaction for both parties. For both Hodlhodl and Bisq, I prefer to use Bisq because it is very easy to use.
This is a very wrong move by the country to ban Bitcoin knowing the fact that this can't be ban and how they will ban code that runs through computers, its a fool, everyone can access it if they want to.
If mining is prohibited, do I need to switch to a place that recognizes Bitcoin to continue mining?
About this case, you need to switch to another country but transferring devices go outside in the country that implementing the ban is very hard to move your mining equipment. I don't know what is the process of transferring equipment.