How to make a planet accurately orbit a star?

Ok I think the other one is deleted. Yeah, I had no idea this question was posted twice.