Pregnancy and Drug Addiction
First of all, you should take a deep breath. Both situations that you are facing are a big deal, and there are no simple answers. There are options, though. Asking for help is scary, and I don't blame you for your worries.
In most places, there are programs through the county hospital that specifically offer drug and alcohol treatment to pregnant women and girls. It is not my experience that if you tell the truth now, early in your pregnancy and take the treatment that is offered, you will jeopardize custody of your baby in the future.
If you want to have your baby, it is imperative to the baby's health that you stop doing drugs right away, TODAY. There are various 12-step meetings that are free, anonymous and go on seven days a week. One thing you could do right away is find one near you, call the help line and talk to a person about getting some help and support.
Quitting drugs is really hard, and being pregnant isn't a magic bullet that stops your addiction or your cravings. You are still the same person you were before you became pregnant, and your recovery from drug addiction is one of many changes you will face in the journey to motherhood. It is a growth process for everyone, no matter what challenges each of us face.
At this time, in most places, drug use while pregnant is not separately illegal. So no, they aren't going to arrest you for seeking treatment. However, drug use in general is, and you do put yourself at risk for all manner of criminal charges when you are an illegal drug addict. These risks could be more costly for you now that you are pregnant.
There are many resources available to you. Using those resources now does not put you in danger, but not using them may. Rally any support you can, try the recovery meetings. Call your local county hospital and ask if they have an intervention program, and remember, be kind to yourself. Asking for help is the right thing to do.