Hiya,
I would suggest that you climb after the last point at which an altitude restriction was specified (ie that you must be 5000' or below) and as soon as you have passed that point you can commence a climb to 6000'. It doesn't matter if you reach 6000' sooner than required. You could start it at any point after the restriction to make the next restriction, if that makes any sense!
As 055166K says if you tell us more, we can help more.
Cheers,
N
"Keep smiling, it makes people wonder what you're up to..."