There are many bits of information missing from your question. Who petitioned for you, how did you come into the country, etc.? Contact an immigration attorney.
The short answer is, the length of time cannot be determined. The longer answer is, depending on whether the petitioner is a US Citizen or Permanent Resident, and depending on whether the petitioner is filing for his/her spouse, parent, adult married son/daughter, adult unmarried daughter, unmarried child under age 21, or sibling, the length of time for a USCIS decision could be as short as 2 months, or as long as years. But USCIS might also have reasons for the delay, such as background checks, investigations, etc.
(734) 369-3131. This communication does not establish and attorney-client relationship with the Law Office of Michael Carlin PLLC or any individual member of the office. Confidential information should not be sent through this form.