If your table has constraints, then issue
delete from #temp
if not, then
truncate table #temp
In your case, since you try to create #temp for the first time and if you don't want to retain older records, then
drop table #temp
followed by Select * INTO #temp statement
Hope this helps