Please, post some code. It's impossible to answer with these few infos.