It is difficult to identify specific Succulents since there are so many. You may be able to search identification sites and find the type.
Overwatering is the most common reason for loss of a succulent. The soil needs to be light and well draining. Too much moisture and the plant will rot.
Find a nice sunny window for your plant.
Here are some links with more information.