The decay of a soliton in a trapped state inside a well is shown numerically. Bound states of a kink in an attractive well, both centered and off center are found. Their stability is studied. Unstable soliton solutions inside a repulsive barrier are also found.PACS 03.40. Kf, 73.40.Gk, 23.60.+e 1