You must have a student visa to study in the United States. Your course of study and the type of school you plan to attend determine whether you need an F visa or an M visa.
Student Acceptance at a SEVP Approved School
The first step is to apply to a SEVP-approved school in the United States. After the SEVP-approved school accepts your enrollment, you will be registered for the Student and Exchange Visitor Information System (SEVIS) and must pay the SEVIS I-901 fee. The SEVP-approved school will issue you a Form I-20. After you receive the Form I-20 and register in SEVIS, you may apply at a U.S. Embassy or Consulate for a student (F or M) visa. You must present the Form I-20 to the consular officer when you attend your visa interview.
If your spouse and/or children intend to live with you in the United States while you study, they must also enroll in SEVIS, obtain individual Form I-20s from the SEVP-approved school, and apply for a visa (but they do not pay the SEVIS fee).