First Order And Second Order Phase Transition