The SAPD arrested me with 9g weed.

I plead guilty to the charges against me.and now I have criminal record and can’t get a descent job…I would do anything for this country I love this country but it seems that my own country believe that I’m a criminal and make my life living hell,I don’t drink alcohol didn’t drink that for a long time now…I stoped smoking for the reason…I don’t want to go to prison.

If there are a way to get the criminal record of my name (by law) can you please help me