Eg: sprint flat out for 30secs then walk for 1-2mins then repeat over.
But you can switch it up using bikes, rower etc.
I do stair sprints for 30 sec intervals flat out, then walk and get my breath for about 1-1.5mins, then go again, every 3rd set I might change from sprinting up the stairs...