If you're subject to a supervised community treatment order, medication is supplied free of charge it it's to treat a mental disorder. This must be provided by an NHS trust or foundation trust, or a service arranged by an NHS organisation under the NHS Act 2006 or under a patient group direction.
Your care coordinator will arrange for any medication that you need as part of your treatment.
Check what help you could get to pay for NHS costs and apply online.