Muaaaaa...maybe you should try to find a basics manual.
Spoiler:
When you make the text box it will automatically be made on top of your current layer, so if you don't change around your layers it should never end up behind your background.
However to change layers...
Just hold and drag! Yeap yeap.
I know my mousewriting is all newb0rz. But oh well.