Wake up and immediately start writing them down. Sometimes I use a voice recorder app to do the same, I believe there are apps out there for dream specific voice or text journaling but I just use my phone, used a physical journal previously. After a few weeks you'll be able to remember them fully.