There are 3 main types of public transportations in Melbourne

Train
Tram
Bus
No matter which one you are taking, you will need to purchase Myki. Myki is a card that allows you to travel around Melbourne. Without it, you will get fined if the inspector catches you.