Here's a good video showing how to make a bed frame extra sturdy. Dimensions will depend on the size of your bed. Wishing you the best.
Be aware that purchasing the wood may be more costly than getting a second hand frame / bed at a thrift store. Also if you do not have all the tools and equipment, cheaper to buy 2nd hand.
Pete, here are some ideas you may find helpful: