I believe you are trying to check post type inside the Loop. To check the post type, try this:
global $post;
if('post' == $post->post_type ){
// post stuff here
}
else{
// aggregato stuff here
}
Alternatively, you can also use get_post_type()
function to get post type of current post.