take the tack strip out an replace it with a transition bar, or a c-bar. You can buy them at any home improvement store, you also can just staple the carpet back down right into the existing tack strip, that should cover things up as well. but a bar is your best bet.