Double click on the midi track so that you can see the notes.
Select all, then 'Q' for quantize.
You should be able to quantize in various ways: note start, note length, note end, etc.
You can also determine what to quantize on, e.g. the grid. However you may need to set up your grid appropriately.