It is crucial to consider your visa circumstances when seeking assistance for criminal matters.
Any sentence of imprisonment (suspended or immediate) longer than twelve months can trigger the cancellation of your visa.
If you have been charged with an offence, seek migration advice urgently.