Taking a personal loan out if you need one can improve your credit score if you never miss a payment are able to pay it back.
Only take the personal loan out if you know you'll be able to pay back the loan and not miss a payment.
Taking a personal loan out and not being able to make the payments on time will ruin your credit.