I understand accidents. The swelling may be the body's response to trauma.
If the leg moves in the normal range it may not be dislocated.
The Epsom salt may be the best thing you can do - it helps with swelling and is a good all-around healing mineral.
You might consider a tiny dab of...