The simplest way (if you dont need special details) is to use the automatic effect in most good graphics program "make seamless".
Gimp has that for example.

If you are not an artists, its good enough for most uses.