Hold the right arrow key, and while it is held, press P. That combination triggers the side special for whichever character you are using.
Practice it against a stationary opponent first, since several side specials have long recovery frames that leave you open if you mistime them.