If you are a student, you can apply for a student credit card. These cards usually have lower rates and fees than traditional cards. They also can have a rewards program that will allow you to earn cash back or bonus points on your purchases.
Another option is a credit card for people with no credit history. You can apply for this card even if you are only 18 years old. But to qualify for a card, you will need to show income so you should have a job. Otherwise, the issuer may not approve you.