If you have two wireless routers, the most ideal configuration is to run a hard ethernet wire from router A to router B. The wire plugs on both routers into the LAN (not WAN) switches. If router A is the main router, then on router B you turn off DHCP (as well as routing and NAT, if that's possible). Configure all wireless settings on the router B the same as on router A, except that you pick a different channel (in 2.4GHz band ALWAYS use only 1,6, or 11, as these are the only of the three non-overlapping channels in that band). Under this setup, router B is merely an access point, instead of a full router. The clients will pick the access point with the best signal. Under this setup, your router B will have a full speed (at least 100Mbps, or whatever is supported by the wired switch) to the router A. If you use a third party firmware such as dd-wrt, it may actually have a setup option to specify that the router is being used only as access point (I have seen many vendor firmwares with no option for explicit AP support, but you can usually work around it).
Of course, it's not always possible to run a wire around a house. The next best thing to try is to setup the router B as a repeater by the means of WDS (wireless distribution system). Unfortunately, WDS implementations apparently are incompatible between vendors. So if you have routers from the same vendors, then it will probably work. Note that any repeater, using WDS or other means, will give you at best half of the available bandwidth. That's because the repeater is taking turns to talk to the client as well as to the main router. So if you have a 300Mbps wireless-n link speed, then the repeater will have at best a 150Mbps link to the main router (but that's "wireless" 150Mbps, which is far worse than 100Mbps ethernet).
Finally, you can also try to install aftermarket firmware on the router B, such as dd-wrt, and try to setup either their WLAN repeater or repeater-bridge mode. Personally, I am not very fond of this last solution involving DD-WRT. The reason is that DD-WRT does not perform the MAC address translation in repeater, bridge, or repeater-bridge modes. This means that all IPs of machines connected to the dd-wrt repeater will have the repeater access point's MAC. This will possibly break DHCP and possibly other protocols that use a physical mac address. Sounds like a bad hack, and it never worked for me.
So WDS is your best chance at getting wireless repeater working unless you can run a wire to the second router (best option IMO)
Another possibility, is to run a powerline connection between router A and B. It's not clear if it's a good idea or not until you try it. At longish distances powerline often does not work better than plain wifi.