How should I practice staying in the moment?

I get caught up in the future or past and I don’t really am present or when I’m with family I’m thinking about other things.
How should I practice staying in the moment?
Post Opinion