2001 Infiniti i30

i have an infiniti i30 with 97k recently my check engine light came on i went to check it they said its the heat sensor. my question is ? is it possible i can change it myself and can you please show me how? thank you