Wax and sealant
Inexpensive and quick to apply. Lasts weeks to a few months. Perfectly fine if you have your car washed regularly.
Ceramic coating
A harder, longer-lasting layer: months to years, depending on the product. The paint has to be properly clean and often polished first, so it takes more time and money.
What suits you?
Do you drive a lot, is your car parked outside and would you like to wash it less often? Then a coating is worth considering. Otherwise a sealant is often enough.