Investigation of phase transition in QED3