Quick answer
Me gusta el café.
Literally “coffee pleases me”. The thing you like is the subject, and you are the object — which is why the verb often ends in -n.
The structure
| me gusta | I like |
| te gusta | you like |
| le gusta | he/she likes |
| nos gusta | we like |
| os gusta | you all like |
| les gusta | they like |
Singular or plural
The verb agrees with the thing, not with you.
The same pattern, other verbs
Memory trick
Ask yourself what is doing the pleasing. That thing decides whether it is gusta or gustan.
Typical mistakes
Yo gusto el café.
Me gusta el café.
Yo gusto means "I am pleasing" — a compliment to yourself.
Me gusta los perros.
Me gustan los perros.
Several dogs, so the verb is plural.
Check yourself
___ las películas españolas.