Have you recorded a software instrument that turned out a bit too sloppy timing wise? Try quantizing! When you quantize notes, they will end up on the beat instead of a bit in between beats. If you double click a software instrument region, the piano roll will pop up and show all the midi notes. Mark the midi notes you want to quantize --> Right-click --> Quantize --> Choose subdivision. Done!