You don't need to do anything. Just wait and it will calculate Pi to the best it can.
I just grabbed the formula used off a random Fermat's Last Theorem website, so credit to them. (fermatslasttheorem.blogspot.co.uk) Feel free to use it. Also, credit to supermkc36 and DadOfMrLog for the projects that inspired me to do this.