Luckily, memory foam is easy and inexpensive to fix with memory foam adhesive, which is available in many furniture and upholstery stores. .
Take all bedding and accessories off of bed or memory foam pillow.
Push together the foam closing the rip in the foam and spray the memory foam adhesive on the rip.
Let the foam adhesive dry, which will take only a few minutes.