If you have a thermometer heat the oil to around 190C (375F). If not, test a small piece of dough, if it floats and lots of little bubbles surround it and turns golden in a few seconds the oil is ready. Keep an eye on the temperature as you go.