All loans affect your credit score, including student loans. Your first loan will improve your credit mix, boosting your score. At the same time, if you fail to make payments on time or if your lender conducts a hard inquiry, you may see a decline in your credit score.
Be smart with your student loans! If you need a student loan to help pay for your education, look to public lenders first before turning to private lenders. Public lenders tend to delay interest accumulation until after you graduate from college.