How do i add pagination for the evnts eg: add paginations

How do i add pagination for the evnts eg: add paginations if events more than 10?