Can you take lisinopril 20mg and Viagra?

if you are taking 10mg of Lisinopril in the morning can you take Viagra in the afternoon