I had this problem recently.
First you should try taking the graphics card out of your computer and plugging your monitor straight into your motherboard, if your PC starts working it is because your graphics card is dead. Ive had a couple of brand new GPUs turn out completely dead when I plugged them in, even though their fans were spinning.
If this doesnt work, take all sticks of RAM out of your system except one then boot. If still no post, replace the stick of RAM with one of your other ones to see if its one of your RAM sticks that are dead.
If you still dont have post, then the problem is either your monitor, motherboard or CPU. Though its more rare that it's one of these three.
Whatever component isnt working will have to be replaced.
It is also important for you to tell us your system specs when you have an issue like this, there are a few cases where doing everything I just recommended wont work so you should try them without letting us know what you have first.
Oh, also make sure to go through a PC building tutorial on youtube to make sure you didnt miss any crucial steps.
Hope this helps, good luck.