If possible it's better for you to get a subsidized loan because you'll save money on a subsidized loan because no interest will accrue on the subsidized loan like it would on an unsubsidized loan.
However sometimes you don't really have a choice when choosing between the two sometimes due to lack of financial need.
However a subsidized loan should be your choice if you have a choice between the two types of student loans.