On family of potential wells and applications to semilinear hyperbolic equations and parabolic equations. (September 2020)