Hi Susy, the trick is how to prepare it first: https://www.hunker.com/13416672/how-to-paint-particleboard-furniture
Don't sand, lightly scuff with fine steel wool. Clean with denatured alcohol. Then proceed to paint & prime as you would any wood.
You'll need to prime it with an oil based bonding primer before painting. It will just suck up waterbased paint and ruin the particle board.
Here is a great tutorial on how to paint furniture.
After sanding, use an oil based primer. Here's a table that I painted if you'd like some tips.
Just scuff it up with green kitchen scrubby. Wipe well. Prime with Kilz primer then paint your color. Seal with three coats of a water based poly.