On your argument, exclude the current post using post__not_in
$args=array(
'post_type'=>'projects',
'orderby'=>'rand',
'posts_per_page'=>'1',
'post__not_in'=> array( get_the_ID() )
);
On your argument, exclude the current post using post__not_in
$args=array(
'post_type'=>'projects',
'orderby'=>'rand',
'posts_per_page'=>'1',
'post__not_in'=> array( get_the_ID() )
);