Yes. Treatment for an STD does not protect you from contracting the same or other STDs in the future. You should get tested if you have had unprotected sex regardless of whether you have had treatment in the past. Re-infections are common if you fail to complete your prescribed treatment. It is also possible to have more than one STD at a time.