I'm starting my bachelor's degree thesis and i will do some research work. If I achieve good results can my work be published? If so , who should get the credits? I'm afraid that my prof or his research lab can publish/include my work in some their future papers without my name.
If your work is good enough, it deserves to be published. It doesn't matter if it is the result of a hobby, undergraduate studies, or your main job as a researcher.
Summarizing it to make it fit into the space allotted in a journal or conference proceedings will be a daunting task, ask your advisor for guidance and help.