As far as I know, you cannot catch a ghost.
So far, no one has proved that ghosts have physical form in our world. So, there is no trap to contain them.
Some people believe that “dreamcatchers” also snag ghosts. I’ve seen no evidence of that.
However, dreamcatchers may confuse ghosts or prevent them from entering a home.
That defense might help if a ghost is immediately outside your home. (Of course, that’s the opposite of attracting and catching them.)
You might convince a ghost to remain in a particular location, temporarily. For example, if the ghost has unfinished business and you act as if you could help, the ghost might linger. (If you know you can’t help, it’s cruel to suggest that.)
Other than that, I don’t think there’s any way to catch or entrap a ghost.
I’m not sure why anyone would want to do that, anyway.
Some paranormal entities can be caught. For example, some believe you can trap a leprechaun — or at least a clurichaun (in Irish, clobhair-ceann) — in an open bottle of whiskey. This requires having a clurichaun on the premises, and leaving an uncorked bottle of whiskey near him. Around dawn, the trapper must sneak up on the clurichaun and cork it while the clurichaun is still inside.
Some people believe a bottle can hold a ghost, as well. As I’ve heard it, the person waits in a haunted location until shortly before midnight. (That’s another “between time.”)
As midnight approaches, place a candle inside a bottle and light it. When any ghost is so attracted to the light, he or she goes into the bottle, cork it quickly.
That particular idea is riddled with problems. For one thing, some bottles will crack or explode if exposed to flame.
Another is more obvious: If ghosts were actually attracted to light, they wouldn’t show up at night.
Finally, I’m not sure how anyone could tell if a ghost enters a bottle.
I’ve also heard variations of Vodun and Voodoo practices involving. One “ghost catcher” uses cemetery dirt and a metal-lined (or lead-lined) box with a lid. I don’t know the specifics.
If someone tries to convince you that this works, run in the other direction. Vodun and Voodoo are intensely spiritual practices. The Guédé should not be treated lightly.
Likewise, “summoning” ghosts is a bad idea. You might summon something much darker. Sending it back might require expert spiritual help.