It depends on how fast you go.
If your rate of speed is about the same as the big powerful rockets that put satellites in orbit around the earth you will be going about 40,000 kilometers per hour (25,000 miles/hour).
At that rate it will take almost 400-years.
If you could go half as fast as light it would take 100-years.
If you could go as fast as light it would only take 50-years.