Your credit is affected by both secured and unsecured loans. While your credit score may initially suffer as a result of the hard pull during the application process, if you properly manage your loan account, it can actually help your credit.
Every monthly loan payment you make is reported to the credit bureaus. Similarly, if you fail to make a payment or make it late, it will be noted on your file. As a result, if you consistently make your payments on time, your credit will benefit.