Contact the maker for the nearest service centre. One of your motors isn't working. There are three, 'head up and down', 'foot up and down', and 'bed raise and lower'.
You can buy a magnet tool from Princess Auto or else ware that sells car stuff and try that. They are not pricey and look like A pencil in shape. It may fit inside the seat belt.