I don't know what recipe you are using - try this one -
place the butter (not margarine) in your pan, pour in your cream, milk or half-and-half, add your grated Parmesan, add a bit of pepper (you can add salt but be careful because of the salt in the Parmesan) - heat through and do not let it boil -
add to cooked pasta and it's done!
it's very easy and it's very good!