How to loop background 2d sprite?

Hello I am a new user and want to know how to loop a background sprite for my 2d game so that one sprite attach to other same sprite.