Select the object that is having the texture issue and go to the modifier tab

select the drop down menu and scroll way down to select Unwrap UVW

Once the modifier is loaded just hit the Edit button to open up the following window

now you want your UV map to look like this and not like the one on the right


at least the UV map should stay inside the smaller box for it to show up correctly. I hope this helped enough.