14 month old fell off the bed

This morning my baby fell off the bed. Thankfully she is fine. But I am concerned and want to know of any safety precautions I can take. Thinking of investing in a bed rail. Any suggestions?