You just have to refuse. What are they going to do? They cannot force you to take the gun, and fire at other proles.
Sure you'll go to prison, or be executed. But better this than OBEY.
Unlikely, more likely to die of existential crisis when society unravels due to AI taking nearly all the jobs but I wouldn't worry too much about it that has to be at least 10 years away.