Te can be dative or accusative case.
A good example is with the verb "dar":
Te doy - I hit you
Te doy algo - I give you something
or with "traer":
Te traigo - I bring you
Te traigo algo - I bring you something
Same with "le", but this is for 3rd person singular, and 2nd person singular formal.
In terms of reflexive, you would use it as such:
Te diste - you hit yourself
Te quemaste - you burned yourself
Cuidado con el plato de comida, esta caliente. Te puedes quemar - Careful with the food, it's hot. You could burn yourself.
No te vayas - don't go yourself (lit.) = Don't leave