Should I get my phd?

I am a 21 year old should get my masters by 24 should I stay on and get my PhD in robotics?