Keeping secrets can be damaging. I'm not suggesting you open up to your family as that is not always the right thing to do as everyone's family is different, but definitely consider it.
Don't try and fight your addiction alone, seek support from wherever you can, there is strength in numbers. Maybe you have a friend you can confide in? Coming here was a good start, there is an absolute wealth of knowledge and experience available.
I'd reiterate the fact that it won't take long to get through your detox, I'm guessing you're totally unprepared as most people are when they do their first one, but that doesn't mean you can't do it. First time I did a detox I was coming off a gram of smack IV and ~equivalent to about 200mg of diazepam a day completely bareback. I got through it mainly because I had no other option but to do so, but even though it was so horrific I have been back many, many times since. When you are through with the detox, start thinking seriously about what you are going to do to makke sure you don't end up back in that place. Some people are lucky and they are sensible enough to learn their lesson the first time round, but ime that is not the usual routine.
Good luck.