It is very important not to lean forward in bed or in a chair for the first couple weeks after surgery. Using a high-rise toilet seat also helps prevent dislocation. Over time, as the muscles get stronger, preventive measures like these will not be as important.