Hi welcome to PCHF... and sorry for the delay in answering your post.
Need more hardware info-- some motherboards now have active fan-speed controls...
PSU could be weak, etc.
For now... I would suggest running with case opened and a fan blowing in-- it won't take long for damage at 71C-- that's at the upper end of tolerance-- though P4's do have some built-in thermal protection.
suggest-- when you repost-- go into "User CP" "edit options" --scroll down the list.
List all your hardware in the spaces be sure to list the Brands and Model Numbers
-- at the top-- there is an option to "allow others to view my specs"-- click on yes.
It saves a lot of time between posts if while you check something I can go look up your motherboard manufacturer's site and read the manual.
You can also list your OS...all this is a great time-saver for us-- we can view everything quickly to refresh our memories... as we are all working multiple threads at once.
This would be automatic from that point on-- so if you have another problem six months from now-- we can instantly know what you have.
Note: if you click the arrow next to "my PC" above you will see what I mean.