Do you qualify for legal aid? Go to the courts and ask where legal aid is and ask if you qualify for their services.
Follow everything
CPS tells you to do and do extra. Go to your dr that you trust and have them
drug test you. Sign over your records to prove your case. Are they allowing any visitation now? Do you get along with your mother?
You could take all your information and calmly ask for a meeting with the CPS worker's supervisor. Without getting crazy, go over what happened and ask how you can get child back ASAP. Is there another court date scheduled?
It sounds like you may hang around the wrong people. Maybe move to a different neighborhood if possible and stay out of any situations that may look bad for a while (bars, out at 3am, smoking, anything that can look damaging).
Good luck!