Answer:
Use them as follows
Step-by-step explanation:
IOP (of person being pleased) + gustar + subject (thing that is pleasing)
If you used Pizza as an example
I like pizza.
↓
Pizza is pleasing to me.
↓
To me is pleasing pizza.
↓
Me gusta la pizza.
Gustar is typically used to state that you like things